Merge pull request #2442 from esphome/bump-2022.11.0b5

2022.11.0b5
This commit is contained in:
Jesse Hills 2022-11-16 15:46:11 +13:00 committed by GitHub
commit 79d07417b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 43 additions and 24 deletions

View File

@ -38,7 +38,7 @@ PROJECT_NAME = "ESPHome"
# could be handy for archiving the generated documentation or if some version # could be handy for archiving the generated documentation or if some version
# control system is used. # 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 # 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 # for a project that appears at the top of each page and should give viewer a

View File

@ -1,5 +1,5 @@
ESPHOME_PATH = ../esphome 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 .PHONY: html html-strict cleanhtml deploy help live-html Makefile netlify netlify-api api netlify-dependencies svg2png copy-svg2png minify

View File

@ -1 +1 @@
2022.11.0b4 2022.11.0b5

View File

@ -123,6 +123,7 @@ Beta Changes
- Mark webserver and captive portal as not available on rp2040 :esphomepr:`4023` by :ghuser:`jesserockz` - 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` - Fix time components on rp2040 :esphomepr:`4024` by :ghuser:`jesserockz`
- Mark mqtt as unavailable on rp2040 :esphomepr:`4025` 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 All changes
^^^^^^^^^^^ ^^^^^^^^^^^
@ -195,6 +196,7 @@ All changes
- Mark webserver and captive portal as not available on rp2040 :esphomepr:`4023` by :ghuser:`jesserockz` - 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` - Fix time components on rp2040 :esphomepr:`4024` by :ghuser:`jesserockz`
- Mark mqtt as unavailable on rp2040 :esphomepr:`4025` 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 Past Changelogs
--------------- ---------------

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -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 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 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 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 (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 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 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 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 .. code-block:: yaml
@ -41,14 +41,14 @@ in your ``i2c`` configuration.
... ...
user_characters: user_characters:
- position: 0 - position: 0
data: data: # back arrow
- 0b00100 - 0b00100
- 0b01110 - 0b01000
- 0b10101 - 0b11110
- 0b00100 - 0b01001
- 0b00100 - 0b00101
- 0b00100 - 0b00001
- 0b11100 - 0b11110
- 0b00000 - 0b00000
lambda: |- lambda: |-
id(my_lcd_menu).draw(); 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 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` - :apiref:`lcd_menu/lcd_menu.h`

View File

@ -69,7 +69,7 @@ author = "ESPHome"
# The short X.Y version. # The short X.Y version.
version = "2022.11" version = "2022.11"
# The full version, including alpha/beta/rc tags. # 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 # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.

View File

@ -20,6 +20,7 @@ Contributors
- `0x0a11c0de (@0x0a11c0de) <https://github.com/0x0a11c0de>`__ - `0x0a11c0de (@0x0a11c0de) <https://github.com/0x0a11c0de>`__
- `Tercio Filho (@0x3333) <https://github.com/0x3333>`__ - `Tercio Filho (@0x3333) <https://github.com/0x3333>`__
- `2016for (@2016for) <https://github.com/2016for>`__ - `2016for (@2016for) <https://github.com/2016for>`__
- `2mikrobi (@2mikrobi) <https://github.com/2mikrobi>`__
- `Pavel Golovin (@31337Ghost) <https://github.com/31337Ghost>`__ - `Pavel Golovin (@31337Ghost) <https://github.com/31337Ghost>`__
- `David Martin (@3ative) <https://github.com/3ative>`__ - `David Martin (@3ative) <https://github.com/3ative>`__
- `Alessandro Campolo (@a13ssandr0) <https://github.com/a13ssandr0>`__ - `Alessandro Campolo (@a13ssandr0) <https://github.com/a13ssandr0>`__
@ -166,7 +167,6 @@ Contributors
- `Clifford Roche (@cmroche) <https://github.com/cmroche>`__ - `Clifford Roche (@cmroche) <https://github.com/cmroche>`__
- `code-review-doctor (@code-review-doctor) <https://github.com/code-review-doctor>`__ - `code-review-doctor (@code-review-doctor) <https://github.com/code-review-doctor>`__
- `CODeRUS (@CODeRUS) <https://github.com/CODeRUS>`__ - `CODeRUS (@CODeRUS) <https://github.com/CODeRUS>`__
- `Nick (@codewise-nicolas) <https://github.com/codewise-nicolas>`__
- `Cody James (@codyjamestechnical) <https://github.com/codyjamestechnical>`__ - `Cody James (@codyjamestechnical) <https://github.com/codyjamestechnical>`__
- `Colin Leroy-Mira (@colinleroy) <https://github.com/colinleroy>`__ - `Colin Leroy-Mira (@colinleroy) <https://github.com/colinleroy>`__
- `Conclusio (@Conclusio) <https://github.com/Conclusio>`__ - `Conclusio (@Conclusio) <https://github.com/Conclusio>`__
@ -184,6 +184,7 @@ Contributors
- `Chris Talkington (@ctalkington) <https://github.com/ctalkington>`__ - `Chris Talkington (@ctalkington) <https://github.com/ctalkington>`__
- `Massimo Cetra (@ctrix) <https://github.com/ctrix>`__ - `Massimo Cetra (@ctrix) <https://github.com/ctrix>`__
- `cvwillegen (@cvwillegen) <https://github.com/cvwillegen>`__ - `cvwillegen (@cvwillegen) <https://github.com/cvwillegen>`__
- `Christoph Wempe (@CWempe) <https://github.com/CWempe>`__
- `cwitting (@cwitting) <https://github.com/cwitting>`__ - `cwitting (@cwitting) <https://github.com/cwitting>`__
- `Alex Solomaha (@CyanoFresh) <https://github.com/CyanoFresh>`__ - `Alex Solomaha (@CyanoFresh) <https://github.com/CyanoFresh>`__
- `Luar Roji (@cyberplant) <https://github.com/cyberplant>`__ - `Luar Roji (@cyberplant) <https://github.com/cyberplant>`__
@ -253,7 +254,6 @@ Contributors
- `Drew Perttula (@drewp) <https://github.com/drewp>`__ - `Drew Perttula (@drewp) <https://github.com/drewp>`__
- `drmpf (@drmpf) <https://github.com/drmpf>`__ - `drmpf (@drmpf) <https://github.com/drmpf>`__
- `DrRob (@DrRob) <https://github.com/DrRob>`__ - `DrRob (@DrRob) <https://github.com/DrRob>`__
- `drug123 (@drug123) <https://github.com/drug123>`__
- `Daniel Müller (@dtmuller) <https://github.com/dtmuller>`__ - `Daniel Müller (@dtmuller) <https://github.com/dtmuller>`__
- `dubit0 (@dubit0) <https://github.com/dubit0>`__ - `dubit0 (@dubit0) <https://github.com/dubit0>`__
- `Sergey V. DUDANOV (@dudanov) <https://github.com/dudanov>`__ - `Sergey V. DUDANOV (@dudanov) <https://github.com/dudanov>`__
@ -460,6 +460,7 @@ Contributors
- `Javier Peletier (@jpeletier) <https://github.com/jpeletier>`__ - `Javier Peletier (@jpeletier) <https://github.com/jpeletier>`__
- `jsuanet (@jsuanet) <https://github.com/jsuanet>`__ - `jsuanet (@jsuanet) <https://github.com/jsuanet>`__
- `James Szalay (@jtszalay) <https://github.com/jtszalay>`__ - `James Szalay (@jtszalay) <https://github.com/jtszalay>`__
- `Julie Koubová (@juliekoubova) <https://github.com/juliekoubova>`__
- `Justahobby01 (@Justahobby01) <https://github.com/Justahobby01>`__ - `Justahobby01 (@Justahobby01) <https://github.com/Justahobby01>`__
- `Mike Ryan (@justfalter) <https://github.com/justfalter>`__ - `Mike Ryan (@justfalter) <https://github.com/justfalter>`__
- `Justin Gerhardt (@justin-gerhardt) <https://github.com/justin-gerhardt>`__ - `Justin Gerhardt (@justin-gerhardt) <https://github.com/justin-gerhardt>`__
@ -899,4 +900,4 @@ Contributors
- `Zack Barett (@zsarnett) <https://github.com/zsarnett>`__ - `Zack Barett (@zsarnett) <https://github.com/zsarnett>`__
- `Christian Zufferey (@zuzu59) <https://github.com/zuzu59>`__ - `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

View File

@ -620,9 +620,15 @@ class SchemaGeneratorVisitor(nodes.NodeVisitor):
component_parts = split_text[0].split(".") component_parts = split_text[0].split(".")
if len(component_parts) == 3: if len(component_parts) == 3:
cv = get_component_file(self.app, component_parts[1])[ try:
component_parts[1] + "." + component_parts[0] cv = get_component_file(self.app, component_parts[1])[
][split_text[1].lower()][component_parts[2]] 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: if cv is not None:
cv["docs"] = description cv["docs"] = description
self.props = self.find_props(cv.get("schema", {})) 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. # this is e.g. when a property has a list inside, and the list inside are the options.
# just validate **prop_name** # just validate **prop_name**
s3 = re.search(r"\* \*\*(\w*)\*\*:\s", name_type) 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 param_type = None
else: else:
logger.info( logger.info(
@ -1150,9 +1161,10 @@ def handle_component(app, doctree, docname):
doctree.walkabout(v) doctree.walkabout(v)
except Exception as e: except Exception as e:
err_str = f"In {docname}.rst: {str(e)}" err_str = f"In {docname}.rst: {str(e)}"
logger.warning(err_str) # if you put a breakpoint here get call-stack in the console by entering
# print stack # import traceback
# traceback.print_exc() # traceback.print_exc()
logger.warning(err_str)
def build_finished(app, exception): def build_finished(app, exception):