mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-02-28 03:41:57 +01:00
Add docs for esphome->project->on_update (#3647)
This commit is contained in:
parent
17b35f9942
commit
b93759a2c8
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user