diff --git a/Makefile b/Makefile index 4f34ef518..52927d8d3 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ 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 diff --git a/changelog/v1.20.0.rst b/changelog/v1.20.0.rst index dd665654f..3db526f84 100644 --- a/changelog/v1.20.0.rst +++ b/changelog/v1.20.0.rst @@ -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` +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 -------------------- diff --git a/components/number/template.rst b/components/number/template.rst index faffcc78d..42727cc95 100644 --- a/components/number/template.rst +++ b/components/number/template.rst @@ -29,7 +29,8 @@ Configuration variables: - **lambda** (*Optional*, :ref:`lambda `): Lambda to be evaluated every update interval to get the new value of the number. - **set_action** (*Optional*, :ref:`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 number. Defaults to ``60s``. - **optimistic** (*Optional*, boolean): Whether to operate in optimistic mode - when in this mode, diff --git a/components/sensor/sdm_meter.rst b/components/sensor/sdm_meter.rst index 024ffeee8..a34b08724 100644 --- a/components/sensor/sdm_meter.rst +++ b/components/sensor/sdm_meter.rst @@ -16,7 +16,8 @@ with ESPHome. SDM220M Energy Monitor. -The communication with this integration is done over a :ref:`UART bus ` using :ref:`Modbus `. +The communication with this integration is done over a :ref:`UART bus ` using the :ref:`Modbus protocol ` +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 to some pins on your board and the baud rate set to 9600. diff --git a/components/switch/template.rst b/components/switch/template.rst index c2057b2bc..b47b30324 100644 --- a/components/switch/template.rst +++ b/components/switch/template.rst @@ -89,11 +89,12 @@ Configuration options: .. 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 - id(template_swi).publish_state(42.0); + id(template_swi).publish_state(false); See Also -------- diff --git a/cookbook/images/ilonda-wifi-smart-fish-feeder-cookbook.jpg b/cookbook/images/ilonda-wifi-smart-fish-feeder-cookbook.jpg index 4b81539fe..843276960 100644 Binary files a/cookbook/images/ilonda-wifi-smart-fish-feeder-cookbook.jpg and b/cookbook/images/ilonda-wifi-smart-fish-feeder-cookbook.jpg differ diff --git a/cookbook/images/ilonda-wifi-smart-fish-feeder.jpg b/cookbook/images/ilonda-wifi-smart-fish-feeder.jpg index 7085c990e..cc648d1c6 100644 Binary files a/cookbook/images/ilonda-wifi-smart-fish-feeder.jpg and b/cookbook/images/ilonda-wifi-smart-fish-feeder.jpg differ diff --git a/cookbook/temt6000.rst b/cookbook/temt6000.rst index d49baaac9..2e3ec01d3 100644 --- a/cookbook/temt6000.rst +++ b/cookbook/temt6000.rst @@ -27,6 +27,7 @@ and convert those voltage measurements to illuminance values in lux using a form - platform: adc pin: A0 name: "TEMT6000 Illuminance" + device_class: illuminance unit_of_measurement: lx filters: - lambda: |- diff --git a/guides/automations.rst b/guides/automations.rst index 47dc66620..a0b0b0382 100644 --- a/guides/automations.rst +++ b/guides/automations.rst @@ -436,7 +436,7 @@ time period. .. note:: 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: diff --git a/guides/faq.rst b/guides/faq.rst index ddbd7aeaa..5b3e04aa8 100644 --- a/guides/faq.rst +++ b/guides/faq.rst @@ -343,6 +343,14 @@ with a lot of work). 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 `_, 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 `_ 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 -------- diff --git a/guides/supporters.rst b/guides/supporters.rst index 0fd9bc944..0b62a60fd 100644 --- a/guides/supporters.rst +++ b/guides/supporters.rst @@ -45,6 +45,7 @@ Contributors - `Albin Kauffmann (@albinou) `__ - `Alex (@alex-richards) `__ - `Alexander Leisentritt (@Alex9779) `__ +- `Alex Barcelo (@alexbarcelo) `__ - `Alexandre Danault (@AlexDanault) `__ - `Alex Mekkering (@AlexMekkering) `__ - `Alex (@alexyao2015) `__ @@ -55,7 +56,7 @@ Contributors - `Andrzej (@andriej) `__ - `Andreas (@anduchs) `__ - `anekinloewe (@anekinloewe) `__ -- `Vegetto (@angelnu) `__ +- `Angel Nunez Mencias (@angelnu) `__ - `Sergey Anisimov (@anisimovsergey) `__ - `ankycooper (@ankycooper) `__ - `Nikolay Vasilchuk (@Anonym-tsk) `__ @@ -90,8 +91,10 @@ Contributors - `boradwell (@boradwell) `__ - `BoukeHaarsma23 (@BoukeHaarsma23) `__ - `Patrik Hermansson (@bphermansson) `__ +- `brambo123 (@brambo123) `__ - `Bram Kragten (@bramkragten) `__ - `Brad Davidson (@brandond) `__ +- `Brett Profitt (@brettp) `__ - `Brian Hanifin (@brianhanifin) `__ - `brianrjones69 (@brianrjones69) `__ - `buddydvd (@buddydvd) `__ @@ -197,11 +200,13 @@ Contributors - `Eric Hiller (@erichiller) `__ - `Ernst Klamer (@Ernst79) `__ - `escoand (@escoand) `__ +- `Eric Severance (@esev) `__ - `esphomebot (@esphomebot) `__ - `Evan Coleman (@evandcoleman) `__ - `Clemens Kirchgatterer (@everslick) `__ - `Malte Franken (@exxamalte) `__ - `Fabian Affolter (@fabaff) `__ +- `Federico Ariel Castagnini (@facastagnini) `__ - `C W (@fake-name) `__ - `Christian Ferbar (@ferbar) `__ - `fkirill (@fkirill) `__ @@ -302,7 +307,7 @@ Contributors - `Jonathan Adams (@jonathanadams) `__ - `Jonathan Treffler (@JonathanTreffler) `__ - `JonnyaiR (@jonnyair) `__ -- `Joppy (@JoppyFurr) `__ +- `Joppy Furr (@JoppyFurr) `__ - `junnikokuki (@junnikokuki) `__ - `Justahobby01 (@Justahobby01) `__ - `Mike Ryan (@justfalter) `__ @@ -335,7 +340,7 @@ Contributors - `Kodey Converse (@krconv) `__ - `krikk (@krikk) `__ - `KristopherMackowiak (@KristopherMackowiak) `__ -- `kroimon (@kroimon) `__ +- `Stefan Rado (@kroimon) `__ - `krunkel (@krunkel) `__ - `Kendell R (@KTibow) `__ - `Jakub Šimo (@kubik369) `__ @@ -440,6 +445,7 @@ Contributors - `Niccolò Maggioni (@nmaggioni) `__ - `Alex (@nnmalex) `__ - `Jan Sandbrink (@NobodysNightmare) `__ +- `Łukasz Śliwiński (@nonameplum) `__ - `ffabi (@norges) `__ - `Greg Johnson (@notgwj) `__ - `nouser2013 (@nouser2013) `__ @@ -464,6 +470,7 @@ Contributors - `Panuruj Khambanonda (PK) (@panuruj) `__ - `Pasi Suominen (@pasiz) `__ - `Paul Deen (@PaulAntonDeen) `__ +- `Paul Monigatti (@paulmonigatti) `__ - `Paul Nicholls (@pauln) `__ - `Bartłomiej Biernacki (@pax0r) `__ - `Paul Doidge (@pdoidge) `__ @@ -489,7 +496,7 @@ Contributors - `Leandro Puerari (@puerari) `__ - `puuu (@puuu) `__ - `Qc (@qc24) `__ -- `Karol Zlot (@qqgg231) `__ +- `qqgg231 (@qqgg231) `__ - `Tommy Jonsson (@quazzie) `__ - `Quinn Hosler (@quinnhosler) `__ - `r-jordan (@r-jordan) `__ @@ -517,6 +524,7 @@ Contributors - `Rob Deutsch (@rob-deutsch) `__ - `Rob de Jonge (@robdejonge) `__ - `Robert Alfaro (@robert-alfaro) `__ +- `Rob Gridley (@robgridley) `__ - `Robin Smidsrød (@robinsmidsrod) `__ - `RockBomber (@RockBomber) `__ - `RoganDawes (@RoganDawes) `__ @@ -625,7 +633,7 @@ Contributors - `Thorsten von Eicken (@tve) `__ - `Tyler Menezes (@tylermenezes) `__ - `tyomikh (@tyomikh) `__ -- `ukewea (@ukewea) `__ +- `wuuker (@ukewea) `__ - `Vc (@Valcob) `__ - `Nad (@valordk) `__ - `Víctor Ferrer García (@vicfergar) `__ @@ -634,6 +642,7 @@ Contributors - `vxider (@Vxider) `__ - `WallyCZ (@WallyCZ) `__ - `warpzone (@warpzone) `__ +- `John "Warthog9" Hawley (@warthog9) `__ - `Wauter (@Wauter) `__ - `webeling67 (@webeling67) `__ - `WeekendWarrior1 (@WeekendWarrior1) `__ @@ -662,4 +671,4 @@ Contributors - `San (@zhujunsan) `__ - `Christian Zufferey (@zuzu59) `__ -*This page was last updated July 30, 2021.* +*This page was last updated August 4, 2021.* diff --git a/images/hero.png b/images/hero.png index af76fa285..ea0f6a2de 100644 Binary files a/images/hero.png and b/images/hero.png differ diff --git a/images/ilonda-wifi-smart-fish-feeder-cookbook.jpg b/images/ilonda-wifi-smart-fish-feeder-cookbook.jpg index 4b81539fe..843276960 100644 Binary files a/images/ilonda-wifi-smart-fish-feeder-cookbook.jpg and b/images/ilonda-wifi-smart-fish-feeder-cookbook.jpg differ