OTA version documentation (#3552)

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
tomaszduda23 2024-01-19 05:18:09 +01:00 committed by GitHub
parent fe7f53e93c
commit 6571a2bc32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -54,6 +54,9 @@ Configuration variables:
performed after a failed OTA update. See :ref:`ota-on_error`.
- **on_state_change** (*Optional*, :ref:`Automation<automation>`): An action to be
performed when an OTA update state change happens. See :ref:`ota-on_state_change`.
- **version** (*Optional*, int): Version of OTA protocol to use. Version 2 is more stable.
To downgrade to legacy ESPHome, the device should be updated with OTA version 1 first.
Defaults to ``2``.
.. note::