diff --git a/esphome/device_packages/sensor-box-diy.yaml b/esphome/device_packages/sensor-box-diy.yaml index 25a2ceb..7732460 100644 --- a/esphome/device_packages/sensor-box-diy.yaml +++ b/esphome/device_packages/sensor-box-diy.yaml @@ -36,12 +36,12 @@ sun: - light.turn_on: id: light_switch -# time: -# - platform: sntp -# on_time: -# - seconds: 0 -# minutes: 30 -# hours: 23 -# then: -# - light.turn_off: -# id: light_switch \ No newline at end of file +time: + - id: !extend sntp_time + on_time: + - seconds: 0 + minutes: 30 + hours: 23 + then: + - light.turn_off: + id: light_switch \ No newline at end of file