Fix OTA on bedroom lamps

This commit is contained in:
2024-07-09 12:35:00 +02:00
parent ecb6b8fe44
commit 0d7b8bf955
2 changed files with 4 additions and 0 deletions

View File

@@ -125,6 +125,8 @@ api:
# to 100%), the light will flash red when the upgrade fails or green when the
# upgrade succeeds.
ota:
platform: esphome
password: !secret ota_password
on_begin:
then:
- light.disco_on:

View File

@@ -121,6 +121,8 @@ api:
# to 100%), the light will flash red when the upgrade fails or green when the
# upgrade succeeds.
ota:
platform: esphome
password: !secret ota_password
on_begin:
then:
- light.disco_on: