mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-27 17:37:45 +01:00
commit
79d07417b9
2
Doxygen
2
Doxygen
@ -38,7 +38,7 @@ PROJECT_NAME = "ESPHome"
|
||||
# could be handy for archiving the generated documentation or if some version
|
||||
# control system is used.
|
||||
|
||||
PROJECT_NUMBER = 2022.11.0b4
|
||||
PROJECT_NUMBER = 2022.11.0b5
|
||||
|
||||
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
||||
# for a project that appears at the top of each page and should give viewer a
|
||||
|
2
Makefile
2
Makefile
@ -1,5 +1,5 @@
|
||||
ESPHOME_PATH = ../esphome
|
||||
ESPHOME_REF = 2022.11.0b4
|
||||
ESPHOME_REF = 2022.11.0b5
|
||||
|
||||
.PHONY: html html-strict cleanhtml deploy help live-html Makefile netlify netlify-api api netlify-dependencies svg2png copy-svg2png minify
|
||||
|
||||
|
@ -1 +1 @@
|
||||
2022.11.0b4
|
||||
2022.11.0b5
|
@ -123,6 +123,7 @@ Beta Changes
|
||||
- Mark webserver and captive portal as not available on rp2040 :esphomepr:`4023` by :ghuser:`jesserockz`
|
||||
- Fix time components on rp2040 :esphomepr:`4024` by :ghuser:`jesserockz`
|
||||
- Mark mqtt as unavailable on rp2040 :esphomepr:`4025` by :ghuser:`jesserockz`
|
||||
- Update_interval less that 1 second in QMC5883L integration :esphomepr:`4031` by :ghuser:`2mikrobi`
|
||||
|
||||
All changes
|
||||
^^^^^^^^^^^
|
||||
@ -195,6 +196,7 @@ All changes
|
||||
- Mark webserver and captive portal as not available on rp2040 :esphomepr:`4023` by :ghuser:`jesserockz`
|
||||
- Fix time components on rp2040 :esphomepr:`4024` by :ghuser:`jesserockz`
|
||||
- Mark mqtt as unavailable on rp2040 :esphomepr:`4025` by :ghuser:`jesserockz`
|
||||
- Update_interval less that 1 second in QMC5883L integration :esphomepr:`4031` by :ghuser:`2mikrobi`
|
||||
|
||||
Past Changelogs
|
||||
---------------
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 4.0 KiB |
@ -25,11 +25,11 @@ with a button or a five-button joystick controller.
|
||||
The component needs to be connected to an instance of a character based LCD display, which
|
||||
at the moment are :ref:`lcd-pcf8574` or a :ref:`lcd-gpio`. For the best results the GPIO
|
||||
connection is recommended; the I²C one running at the speed according to the datasheet
|
||||
(usually 100 kHz) or even ESPHome default (50 kHz) will create perceptible delays especially
|
||||
when changing a numeric value using the rotary encoder. Most PCF8574 adapters used with
|
||||
these displays will happily run at 200 or even 400 kHz though so if you are comfortable
|
||||
(usually ``100`` kHz) or even ESPHome default (``50`` kHz) will create perceptible delays especially
|
||||
when changing a numeric value using the rotary encoder. Most ``PCF8574`` adapters used with
|
||||
these displays will happily run at ``200`` or even ``400`` kHz though so if you are comfortable
|
||||
accepting risks from running your hardware out of spec, you might want to try that
|
||||
in your ``i2c`` configuration.
|
||||
in your :ref:`i2c` configuration.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
@ -41,14 +41,14 @@ in your ``i2c`` configuration.
|
||||
...
|
||||
user_characters:
|
||||
- position: 0
|
||||
data:
|
||||
data: # back arrow
|
||||
- 0b00100
|
||||
- 0b01110
|
||||
- 0b10101
|
||||
- 0b00100
|
||||
- 0b00100
|
||||
- 0b00100
|
||||
- 0b11100
|
||||
- 0b01000
|
||||
- 0b11110
|
||||
- 0b01001
|
||||
- 0b00101
|
||||
- 0b00001
|
||||
- 0b11110
|
||||
- 0b00000
|
||||
lambda: |-
|
||||
id(my_lcd_menu).draw();
|
||||
@ -104,4 +104,8 @@ The menu inherits the dimensions of the connected LCD display and uses the whole
|
||||
See Also
|
||||
--------
|
||||
|
||||
- :ref:`i2c`
|
||||
- :ref:`Display Menu <display_menu>`
|
||||
- :doc:`/components/sensor/rotary_encoder`
|
||||
- :doc:`/components/binary_sensor/index`
|
||||
- :apiref:`lcd_menu/lcd_menu.h`
|
||||
|
2
conf.py
2
conf.py
@ -69,7 +69,7 @@ author = "ESPHome"
|
||||
# The short X.Y version.
|
||||
version = "2022.11"
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = "2022.11.0b4"
|
||||
release = "2022.11.0b5"
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
@ -20,6 +20,7 @@ Contributors
|
||||
- `0x0a11c0de (@0x0a11c0de) <https://github.com/0x0a11c0de>`__
|
||||
- `Tercio Filho (@0x3333) <https://github.com/0x3333>`__
|
||||
- `2016for (@2016for) <https://github.com/2016for>`__
|
||||
- `2mikrobi (@2mikrobi) <https://github.com/2mikrobi>`__
|
||||
- `Pavel Golovin (@31337Ghost) <https://github.com/31337Ghost>`__
|
||||
- `David Martin (@3ative) <https://github.com/3ative>`__
|
||||
- `Alessandro Campolo (@a13ssandr0) <https://github.com/a13ssandr0>`__
|
||||
@ -166,7 +167,6 @@ Contributors
|
||||
- `Clifford Roche (@cmroche) <https://github.com/cmroche>`__
|
||||
- `code-review-doctor (@code-review-doctor) <https://github.com/code-review-doctor>`__
|
||||
- `CODeRUS (@CODeRUS) <https://github.com/CODeRUS>`__
|
||||
- `Nick (@codewise-nicolas) <https://github.com/codewise-nicolas>`__
|
||||
- `Cody James (@codyjamestechnical) <https://github.com/codyjamestechnical>`__
|
||||
- `Colin Leroy-Mira (@colinleroy) <https://github.com/colinleroy>`__
|
||||
- `Conclusio (@Conclusio) <https://github.com/Conclusio>`__
|
||||
@ -184,6 +184,7 @@ Contributors
|
||||
- `Chris Talkington (@ctalkington) <https://github.com/ctalkington>`__
|
||||
- `Massimo Cetra (@ctrix) <https://github.com/ctrix>`__
|
||||
- `cvwillegen (@cvwillegen) <https://github.com/cvwillegen>`__
|
||||
- `Christoph Wempe (@CWempe) <https://github.com/CWempe>`__
|
||||
- `cwitting (@cwitting) <https://github.com/cwitting>`__
|
||||
- `Alex Solomaha (@CyanoFresh) <https://github.com/CyanoFresh>`__
|
||||
- `Luar Roji (@cyberplant) <https://github.com/cyberplant>`__
|
||||
@ -253,7 +254,6 @@ Contributors
|
||||
- `Drew Perttula (@drewp) <https://github.com/drewp>`__
|
||||
- `drmpf (@drmpf) <https://github.com/drmpf>`__
|
||||
- `DrRob (@DrRob) <https://github.com/DrRob>`__
|
||||
- `drug123 (@drug123) <https://github.com/drug123>`__
|
||||
- `Daniel Müller (@dtmuller) <https://github.com/dtmuller>`__
|
||||
- `dubit0 (@dubit0) <https://github.com/dubit0>`__
|
||||
- `Sergey V. DUDANOV (@dudanov) <https://github.com/dudanov>`__
|
||||
@ -460,6 +460,7 @@ Contributors
|
||||
- `Javier Peletier (@jpeletier) <https://github.com/jpeletier>`__
|
||||
- `jsuanet (@jsuanet) <https://github.com/jsuanet>`__
|
||||
- `James Szalay (@jtszalay) <https://github.com/jtszalay>`__
|
||||
- `Julie Koubová (@juliekoubova) <https://github.com/juliekoubova>`__
|
||||
- `Justahobby01 (@Justahobby01) <https://github.com/Justahobby01>`__
|
||||
- `Mike Ryan (@justfalter) <https://github.com/justfalter>`__
|
||||
- `Justin Gerhardt (@justin-gerhardt) <https://github.com/justin-gerhardt>`__
|
||||
@ -899,4 +900,4 @@ Contributors
|
||||
- `Zack Barett (@zsarnett) <https://github.com/zsarnett>`__
|
||||
- `Christian Zufferey (@zuzu59) <https://github.com/zuzu59>`__
|
||||
|
||||
*This page was last updated November 14, 2022.*
|
||||
*This page was last updated November 16, 2022.*
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 2.6 KiB |
@ -620,9 +620,15 @@ class SchemaGeneratorVisitor(nodes.NodeVisitor):
|
||||
|
||||
component_parts = split_text[0].split(".")
|
||||
if len(component_parts) == 3:
|
||||
cv = get_component_file(self.app, component_parts[1])[
|
||||
component_parts[1] + "." + component_parts[0]
|
||||
][split_text[1].lower()][component_parts[2]]
|
||||
try:
|
||||
cv = get_component_file(self.app, component_parts[1])[
|
||||
component_parts[1] + "." + component_parts[0]
|
||||
][split_text[1].lower()][component_parts[2]]
|
||||
except KeyError:
|
||||
logger.warn(
|
||||
f"In {self.docname} cannot found schema of {title_text}"
|
||||
)
|
||||
cv = None
|
||||
if cv is not None:
|
||||
cv["docs"] = description
|
||||
self.props = self.find_props(cv.get("schema", {}))
|
||||
@ -934,7 +940,12 @@ class SchemaGeneratorVisitor(nodes.NodeVisitor):
|
||||
# this is e.g. when a property has a list inside, and the list inside are the options.
|
||||
# just validate **prop_name**
|
||||
s3 = re.search(r"\* \*\*(\w*)\*\*:\s", name_type)
|
||||
prop_name = s3.group(1)
|
||||
if s3 is not None:
|
||||
prop_name = s3.group(1)
|
||||
else:
|
||||
logger.info(
|
||||
f"In '{self.docname} {self.previous_title_text} Invalid list format: {node.rawsource}"
|
||||
)
|
||||
param_type = None
|
||||
else:
|
||||
logger.info(
|
||||
@ -1150,9 +1161,10 @@ def handle_component(app, doctree, docname):
|
||||
doctree.walkabout(v)
|
||||
except Exception as e:
|
||||
err_str = f"In {docname}.rst: {str(e)}"
|
||||
logger.warning(err_str)
|
||||
# print stack
|
||||
# if you put a breakpoint here get call-stack in the console by entering
|
||||
# import traceback
|
||||
# traceback.print_exc()
|
||||
logger.warning(err_str)
|
||||
|
||||
|
||||
def build_finished(app, exception):
|
||||
|
Loading…
Reference in New Issue
Block a user