diff --git a/components/ota.rst b/components/ota.rst index 98110b046..e44a71a4d 100644 --- a/components/ota.rst +++ b/components/ota.rst @@ -4,7 +4,6 @@ OTA Update Component .. seo:: :description: Instructions for setting up Over-The-Air (OTA) updates for ESPs to upload firmwares remotely. :image: system-update.png - :keywords: Xiaomi, Mi Flora, BLE, Bluetooth With the OTA (Over The Air) update component you can upload your firmware binaries to your node without having to use a USB cable for @@ -165,7 +164,7 @@ enum. These values are: on_state_change: then: - if: - condition: + condition: lambda: return state == ota::OTA_STARTED then: - logger.log: "OTA start"