mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-09-30 04:37:44 +02:00
fix ota trigger example (#3530)
This commit is contained in:
parent
ac1c66f3d8
commit
b21f225872
@ -174,7 +174,7 @@ enum. These values are:
|
|||||||
then:
|
then:
|
||||||
- if:
|
- if:
|
||||||
condition:
|
condition:
|
||||||
lambda: return state == ota::OTA_STARTED
|
lambda: return state == ota::OTA_STARTED;
|
||||||
then:
|
then:
|
||||||
- logger.log: "OTA start"
|
- logger.log: "OTA start"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user