Add docs for esphome->project->on_update (#3647)

This commit is contained in:
Jesse Hills 2024-02-28 21:01:59 +13:00 committed by GitHub
parent 17b35f9942
commit b93759a2c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 4 deletions

View File

@ -58,6 +58,10 @@ Advanced options:
- **name** (**Required**, string): Name of the project
- **version** (**Required**, string): Version of the project
- **on_update** (*Optional*, :ref:`Automation <automation>`): An automation to perform when the device firmware is updated.
This compares the above ``version`` field with the ``version`` that was in the previous firmware
as long as the ``name`` matches.
The ``version`` is stored in flash memory when the firmware is first run for future comparisons.
- **min_version** (*Optional*, string): The minimum ESPHome version required to compile this configuration.
See :ref:`esphome-min_version`.
- **compile_process_limit** (*Optional*, int): The maximum number of simultaneous compile processes to run.