Merge branch 'current' into next

This commit is contained in:
Jesse Hills 2021-08-11 20:32:24 +12:00
commit 906c2e5f74
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
13 changed files with 47 additions and 12 deletions

View File

@ -1,5 +1,5 @@
ESPHOME_PATH = ../esphome ESPHOME_PATH = ../esphome
ESPHOME_REF = v1.20.3 ESPHOME_REF = dev
.PHONY: html html-strict cleanhtml deploy help webserver Makefile netlify netlify-api api netlify-dependencies svg2png copy-svg2png .PHONY: html html-strict cleanhtml deploy help webserver Makefile netlify netlify-api api netlify-dependencies svg2png copy-svg2png

View File

@ -92,6 +92,20 @@ Release 1.20.3 - July 30
- Set pulse meter total to use state class measurement and last reset type auto :esphomepr:`2097` by :ghuser:`jesserockz` - Set pulse meter total to use state class measurement and last reset type auto :esphomepr:`2097` by :ghuser:`jesserockz`
Release 1.20.4 - August 4
-------------------------
- Correctly invert esp32 RMT TX :esphomepr:`2022` by :ghuser:`WeekendWarrior1`
- Move configure_rmt() into setup() :esphomepr:`2028` by :ghuser:`WeekendWarrior1`
- Fix climate restore schema changed resulting in invalid restore :esphomepr:`2068` by :ghuser:`OttoWinter`
- Fix PID climate breaks when restoring old modes :esphomepr:`2086` by :ghuser:`OttoWinter`
- fix diplay trigger missing base class :esphomepr:`2099` by :ghuser:`glmnet`
- Fix min/max keys in MQTT Number to match Home Assistant :esphomepr:`2102` by :ghuser:`paulmonigatti`
- Use proper schema for the analog pin shorthand :esphomepr:`2103` by :ghuser:`nonameplum`
- [duty_cycle] initialize two missing variables :esphomepr:`2088` by :ghuser:`CarlosGS`
- Fix time.on_time triggering if time jumped back :esphomepr:`1806` by :ghuser:`brambo123`
- Fix external components not refreshing with default or high refresh time :esphomepr:`2122` by :ghuser:`OttoWinter`
Full list of changes Full list of changes
-------------------- --------------------

View File

@ -29,7 +29,8 @@ Configuration variables:
- **lambda** (*Optional*, :ref:`lambda <config-lambda>`): - **lambda** (*Optional*, :ref:`lambda <config-lambda>`):
Lambda to be evaluated every update interval to get the new value of the number. Lambda to be evaluated every update interval to get the new value of the number.
- **set_action** (*Optional*, :ref:`Action <config-action>`): The action that should - **set_action** (*Optional*, :ref:`Action <config-action>`): The action that should
be performed when the remote (like Home Assistant's frontend) requests to set the number value. be performed when the remote (like Home Assistant's frontend) requests to set the
number value. The new value is available to lambdas in the ``x`` variable.
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the - **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
number. Defaults to ``60s``. number. Defaults to ``60s``.
- **optimistic** (*Optional*, boolean): Whether to operate in optimistic mode - when in this mode, - **optimistic** (*Optional*, boolean): Whether to operate in optimistic mode - when in this mode,

View File

@ -16,7 +16,8 @@ with ESPHome.
SDM220M Energy Monitor. SDM220M Energy Monitor.
The communication with this integration is done over a :ref:`UART bus <uart>` using :ref:`Modbus <modbus>`. The communication with this integration is done over a :ref:`UART bus <uart>` using the :ref:`Modbus protocol <modbus>`
over RS485 wiring. You will need an RS485 to UART converter for communication.
You must therefore have a ``uart:`` entry in your configuration with both the TX and RX pins set You must therefore have a ``uart:`` entry in your configuration with both the TX and RX pins set
to some pins on your board and the baud rate set to 9600. to some pins on your board and the baud rate set to 9600.

View File

@ -89,11 +89,12 @@ Configuration options:
.. note:: .. note::
This action can also be written in lambdas: This action can also be written in lambdas, the parameter of the `public_state` method denotes if
the switch is currently on or off:
.. code-block:: cpp .. code-block:: cpp
id(template_swi).publish_state(42.0); id(template_swi).publish_state(false);
See Also See Also
-------- --------

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 58 KiB

View File

@ -27,6 +27,7 @@ and convert those voltage measurements to illuminance values in lux using a form
- platform: adc - platform: adc
pin: A0 pin: A0
name: "TEMT6000 Illuminance" name: "TEMT6000 Illuminance"
device_class: illuminance
unit_of_measurement: lx unit_of_measurement: lx
filters: filters:
- lambda: |- - lambda: |-

View File

@ -436,7 +436,7 @@ time period.
.. note:: .. note::
This is a "smart" asynchronous delay - other code will still run in the background while This is a "smart" asynchronous delay - other code will still run in the background while
the delay is happening. the delay is happening. When using a lambda call, you should return the delay value in milliseconds.
.. _lambda_action: .. _lambda_action:

View File

@ -343,6 +343,14 @@ with a lot of work).
Always back up all your files! Always back up all your files!
Why shouldn't I use underscores in my device name?
--------------------------------------------------
The top level ``name:`` field in your .yaml file defines the node name(/hostname) on the local network. According to `RFC1912 <https://datatracker.ietf.org/doc/html/rfc1912>`_, underscore characters (``_``) in hostnames are not valid. In reality some local DNS/DHCP setups will be ok with underscores and some will not. If connecting via a static IP address, there will probably be no issues. In some cases, initial setup using an underscore works, but later the connection might fail when Home Assistant restarts or if you change router hardware. Recommendation: use hyphen (``-``) instead of underscore if you can.
Important: follow these `instructions </components/esphome.html#changing-esphome-node-name>`_ to use the ``use_address`` parameter when renaming a live device, as the connection to an existing device will only work with the old name until the name change is complete.
See Also See Also
-------- --------

View File

@ -45,6 +45,7 @@ Contributors
- `Albin Kauffmann (@albinou) <https://github.com/albinou>`__ - `Albin Kauffmann (@albinou) <https://github.com/albinou>`__
- `Alex (@alex-richards) <https://github.com/alex-richards>`__ - `Alex (@alex-richards) <https://github.com/alex-richards>`__
- `Alexander Leisentritt (@Alex9779) <https://github.com/Alex9779>`__ - `Alexander Leisentritt (@Alex9779) <https://github.com/Alex9779>`__
- `Alex Barcelo (@alexbarcelo) <https://github.com/alexbarcelo>`__
- `Alexandre Danault (@AlexDanault) <https://github.com/AlexDanault>`__ - `Alexandre Danault (@AlexDanault) <https://github.com/AlexDanault>`__
- `Alex Mekkering (@AlexMekkering) <https://github.com/AlexMekkering>`__ - `Alex Mekkering (@AlexMekkering) <https://github.com/AlexMekkering>`__
- `Alex (@alexyao2015) <https://github.com/alexyao2015>`__ - `Alex (@alexyao2015) <https://github.com/alexyao2015>`__
@ -55,7 +56,7 @@ Contributors
- `Andrzej (@andriej) <https://github.com/andriej>`__ - `Andrzej (@andriej) <https://github.com/andriej>`__
- `Andreas (@anduchs) <https://github.com/anduchs>`__ - `Andreas (@anduchs) <https://github.com/anduchs>`__
- `anekinloewe (@anekinloewe) <https://github.com/anekinloewe>`__ - `anekinloewe (@anekinloewe) <https://github.com/anekinloewe>`__
- `Vegetto (@angelnu) <https://github.com/angelnu>`__ - `Angel Nunez Mencias (@angelnu) <https://github.com/angelnu>`__
- `Sergey Anisimov (@anisimovsergey) <https://github.com/anisimovsergey>`__ - `Sergey Anisimov (@anisimovsergey) <https://github.com/anisimovsergey>`__
- `ankycooper (@ankycooper) <https://github.com/ankycooper>`__ - `ankycooper (@ankycooper) <https://github.com/ankycooper>`__
- `Nikolay Vasilchuk (@Anonym-tsk) <https://github.com/Anonym-tsk>`__ - `Nikolay Vasilchuk (@Anonym-tsk) <https://github.com/Anonym-tsk>`__
@ -90,8 +91,10 @@ Contributors
- `boradwell (@boradwell) <https://github.com/boradwell>`__ - `boradwell (@boradwell) <https://github.com/boradwell>`__
- `BoukeHaarsma23 (@BoukeHaarsma23) <https://github.com/BoukeHaarsma23>`__ - `BoukeHaarsma23 (@BoukeHaarsma23) <https://github.com/BoukeHaarsma23>`__
- `Patrik Hermansson (@bphermansson) <https://github.com/bphermansson>`__ - `Patrik Hermansson (@bphermansson) <https://github.com/bphermansson>`__
- `brambo123 (@brambo123) <https://github.com/brambo123>`__
- `Bram Kragten (@bramkragten) <https://github.com/bramkragten>`__ - `Bram Kragten (@bramkragten) <https://github.com/bramkragten>`__
- `Brad Davidson (@brandond) <https://github.com/brandond>`__ - `Brad Davidson (@brandond) <https://github.com/brandond>`__
- `Brett Profitt (@brettp) <https://github.com/brettp>`__
- `Brian Hanifin (@brianhanifin) <https://github.com/brianhanifin>`__ - `Brian Hanifin (@brianhanifin) <https://github.com/brianhanifin>`__
- `brianrjones69 (@brianrjones69) <https://github.com/brianrjones69>`__ - `brianrjones69 (@brianrjones69) <https://github.com/brianrjones69>`__
- `buddydvd (@buddydvd) <https://github.com/buddydvd>`__ - `buddydvd (@buddydvd) <https://github.com/buddydvd>`__
@ -197,11 +200,13 @@ Contributors
- `Eric Hiller (@erichiller) <https://github.com/erichiller>`__ - `Eric Hiller (@erichiller) <https://github.com/erichiller>`__
- `Ernst Klamer (@Ernst79) <https://github.com/Ernst79>`__ - `Ernst Klamer (@Ernst79) <https://github.com/Ernst79>`__
- `escoand (@escoand) <https://github.com/escoand>`__ - `escoand (@escoand) <https://github.com/escoand>`__
- `Eric Severance (@esev) <https://github.com/esev>`__
- `esphomebot (@esphomebot) <https://github.com/esphomebot>`__ - `esphomebot (@esphomebot) <https://github.com/esphomebot>`__
- `Evan Coleman (@evandcoleman) <https://github.com/evandcoleman>`__ - `Evan Coleman (@evandcoleman) <https://github.com/evandcoleman>`__
- `Clemens Kirchgatterer (@everslick) <https://github.com/everslick>`__ - `Clemens Kirchgatterer (@everslick) <https://github.com/everslick>`__
- `Malte Franken (@exxamalte) <https://github.com/exxamalte>`__ - `Malte Franken (@exxamalte) <https://github.com/exxamalte>`__
- `Fabian Affolter (@fabaff) <https://github.com/fabaff>`__ - `Fabian Affolter (@fabaff) <https://github.com/fabaff>`__
- `Federico Ariel Castagnini (@facastagnini) <https://github.com/facastagnini>`__
- `C W (@fake-name) <https://github.com/fake-name>`__ - `C W (@fake-name) <https://github.com/fake-name>`__
- `Christian Ferbar (@ferbar) <https://github.com/ferbar>`__ - `Christian Ferbar (@ferbar) <https://github.com/ferbar>`__
- `fkirill (@fkirill) <https://github.com/fkirill>`__ - `fkirill (@fkirill) <https://github.com/fkirill>`__
@ -302,7 +307,7 @@ Contributors
- `Jonathan Adams (@jonathanadams) <https://github.com/jonathanadams>`__ - `Jonathan Adams (@jonathanadams) <https://github.com/jonathanadams>`__
- `Jonathan Treffler (@JonathanTreffler) <https://github.com/JonathanTreffler>`__ - `Jonathan Treffler (@JonathanTreffler) <https://github.com/JonathanTreffler>`__
- `JonnyaiR (@jonnyair) <https://github.com/jonnyair>`__ - `JonnyaiR (@jonnyair) <https://github.com/jonnyair>`__
- `Joppy (@JoppyFurr) <https://github.com/JoppyFurr>`__ - `Joppy Furr (@JoppyFurr) <https://github.com/JoppyFurr>`__
- `junnikokuki (@junnikokuki) <https://github.com/junnikokuki>`__ - `junnikokuki (@junnikokuki) <https://github.com/junnikokuki>`__
- `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>`__
@ -335,7 +340,7 @@ Contributors
- `Kodey Converse (@krconv) <https://github.com/krconv>`__ - `Kodey Converse (@krconv) <https://github.com/krconv>`__
- `krikk (@krikk) <https://github.com/krikk>`__ - `krikk (@krikk) <https://github.com/krikk>`__
- `KristopherMackowiak (@KristopherMackowiak) <https://github.com/KristopherMackowiak>`__ - `KristopherMackowiak (@KristopherMackowiak) <https://github.com/KristopherMackowiak>`__
- `kroimon (@kroimon) <https://github.com/kroimon>`__ - `Stefan Rado (@kroimon) <https://github.com/kroimon>`__
- `krunkel (@krunkel) <https://github.com/krunkel>`__ - `krunkel (@krunkel) <https://github.com/krunkel>`__
- `Kendell R (@KTibow) <https://github.com/KTibow>`__ - `Kendell R (@KTibow) <https://github.com/KTibow>`__
- `Jakub Šimo (@kubik369) <https://github.com/kubik369>`__ - `Jakub Šimo (@kubik369) <https://github.com/kubik369>`__
@ -440,6 +445,7 @@ Contributors
- `Niccolò Maggioni (@nmaggioni) <https://github.com/nmaggioni>`__ - `Niccolò Maggioni (@nmaggioni) <https://github.com/nmaggioni>`__
- `Alex (@nnmalex) <https://github.com/nnmalex>`__ - `Alex (@nnmalex) <https://github.com/nnmalex>`__
- `Jan Sandbrink (@NobodysNightmare) <https://github.com/NobodysNightmare>`__ - `Jan Sandbrink (@NobodysNightmare) <https://github.com/NobodysNightmare>`__
- `Łukasz Śliwiński (@nonameplum) <https://github.com/nonameplum>`__
- `ffabi (@norges) <https://github.com/norges>`__ - `ffabi (@norges) <https://github.com/norges>`__
- `Greg Johnson (@notgwj) <https://github.com/notgwj>`__ - `Greg Johnson (@notgwj) <https://github.com/notgwj>`__
- `nouser2013 (@nouser2013) <https://github.com/nouser2013>`__ - `nouser2013 (@nouser2013) <https://github.com/nouser2013>`__
@ -464,6 +470,7 @@ Contributors
- `Panuruj Khambanonda (PK) (@panuruj) <https://github.com/panuruj>`__ - `Panuruj Khambanonda (PK) (@panuruj) <https://github.com/panuruj>`__
- `Pasi Suominen (@pasiz) <https://github.com/pasiz>`__ - `Pasi Suominen (@pasiz) <https://github.com/pasiz>`__
- `Paul Deen (@PaulAntonDeen) <https://github.com/PaulAntonDeen>`__ - `Paul Deen (@PaulAntonDeen) <https://github.com/PaulAntonDeen>`__
- `Paul Monigatti (@paulmonigatti) <https://github.com/paulmonigatti>`__
- `Paul Nicholls (@pauln) <https://github.com/pauln>`__ - `Paul Nicholls (@pauln) <https://github.com/pauln>`__
- `Bartłomiej Biernacki (@pax0r) <https://github.com/pax0r>`__ - `Bartłomiej Biernacki (@pax0r) <https://github.com/pax0r>`__
- `Paul Doidge (@pdoidge) <https://github.com/pdoidge>`__ - `Paul Doidge (@pdoidge) <https://github.com/pdoidge>`__
@ -489,7 +496,7 @@ Contributors
- `Leandro Puerari (@puerari) <https://github.com/puerari>`__ - `Leandro Puerari (@puerari) <https://github.com/puerari>`__
- `puuu (@puuu) <https://github.com/puuu>`__ - `puuu (@puuu) <https://github.com/puuu>`__
- `Qc (@qc24) <https://github.com/qc24>`__ - `Qc (@qc24) <https://github.com/qc24>`__
- `Karol Zlot (@qqgg231) <https://github.com/qqgg231>`__ - `qqgg231 (@qqgg231) <https://github.com/qqgg231>`__
- `Tommy Jonsson (@quazzie) <https://github.com/quazzie>`__ - `Tommy Jonsson (@quazzie) <https://github.com/quazzie>`__
- `Quinn Hosler (@quinnhosler) <https://github.com/quinnhosler>`__ - `Quinn Hosler (@quinnhosler) <https://github.com/quinnhosler>`__
- `r-jordan (@r-jordan) <https://github.com/r-jordan>`__ - `r-jordan (@r-jordan) <https://github.com/r-jordan>`__
@ -517,6 +524,7 @@ Contributors
- `Rob Deutsch (@rob-deutsch) <https://github.com/rob-deutsch>`__ - `Rob Deutsch (@rob-deutsch) <https://github.com/rob-deutsch>`__
- `Rob de Jonge (@robdejonge) <https://github.com/robdejonge>`__ - `Rob de Jonge (@robdejonge) <https://github.com/robdejonge>`__
- `Robert Alfaro (@robert-alfaro) <https://github.com/robert-alfaro>`__ - `Robert Alfaro (@robert-alfaro) <https://github.com/robert-alfaro>`__
- `Rob Gridley (@robgridley) <https://github.com/robgridley>`__
- `Robin Smidsrød (@robinsmidsrod) <https://github.com/robinsmidsrod>`__ - `Robin Smidsrød (@robinsmidsrod) <https://github.com/robinsmidsrod>`__
- `RockBomber (@RockBomber) <https://github.com/RockBomber>`__ - `RockBomber (@RockBomber) <https://github.com/RockBomber>`__
- `RoganDawes (@RoganDawes) <https://github.com/RoganDawes>`__ - `RoganDawes (@RoganDawes) <https://github.com/RoganDawes>`__
@ -625,7 +633,7 @@ Contributors
- `Thorsten von Eicken (@tve) <https://github.com/tve>`__ - `Thorsten von Eicken (@tve) <https://github.com/tve>`__
- `Tyler Menezes (@tylermenezes) <https://github.com/tylermenezes>`__ - `Tyler Menezes (@tylermenezes) <https://github.com/tylermenezes>`__
- `tyomikh (@tyomikh) <https://github.com/tyomikh>`__ - `tyomikh (@tyomikh) <https://github.com/tyomikh>`__
- `ukewea (@ukewea) <https://github.com/ukewea>`__ - `wuuker (@ukewea) <https://github.com/ukewea>`__
- `Vc (@Valcob) <https://github.com/Valcob>`__ - `Vc (@Valcob) <https://github.com/Valcob>`__
- `Nad (@valordk) <https://github.com/valordk>`__ - `Nad (@valordk) <https://github.com/valordk>`__
- `Víctor Ferrer García (@vicfergar) <https://github.com/vicfergar>`__ - `Víctor Ferrer García (@vicfergar) <https://github.com/vicfergar>`__
@ -634,6 +642,7 @@ Contributors
- `vxider (@Vxider) <https://github.com/Vxider>`__ - `vxider (@Vxider) <https://github.com/Vxider>`__
- `WallyCZ (@WallyCZ) <https://github.com/WallyCZ>`__ - `WallyCZ (@WallyCZ) <https://github.com/WallyCZ>`__
- `warpzone (@warpzone) <https://github.com/warpzone>`__ - `warpzone (@warpzone) <https://github.com/warpzone>`__
- `John "Warthog9" Hawley (@warthog9) <https://github.com/warthog9>`__
- `Wauter (@Wauter) <https://github.com/Wauter>`__ - `Wauter (@Wauter) <https://github.com/Wauter>`__
- `webeling67 (@webeling67) <https://github.com/webeling67>`__ - `webeling67 (@webeling67) <https://github.com/webeling67>`__
- `WeekendWarrior1 (@WeekendWarrior1) <https://github.com/WeekendWarrior1>`__ - `WeekendWarrior1 (@WeekendWarrior1) <https://github.com/WeekendWarrior1>`__
@ -662,4 +671,4 @@ Contributors
- `San (@zhujunsan) <https://github.com/zhujunsan>`__ - `San (@zhujunsan) <https://github.com/zhujunsan>`__
- `Christian Zufferey (@zuzu59) <https://github.com/zuzu59>`__ - `Christian Zufferey (@zuzu59) <https://github.com/zuzu59>`__
*This page was last updated July 30, 2021.* *This page was last updated August 4, 2021.*

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

After

Width:  |  Height:  |  Size: 301 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 10 KiB