@claustro wrote:
I would like to make an automation when my alarm is triggered it switch on all garden lights after 5 seconds.
I made a wifi switch that detect when my alarm goes on. and tried to configure an automation in the graphical interface of home assistant
device_id: 2833ca72c042415786ed04a5ff230e96 domain: binary_sensor entity_id: binary_sensor.luci_allarme_switch1 platform: device type: turned_on condition: sun after: sunset device_id: 7cf4d1691d754cbb8a85ef6a538f083f domain: switch entity_id: switch.shelly_shsw_1_688f36 type: turn_on
the switch works correctly if I don’t use the sunset condition, I tried the device at midnight and it doesn’t work. What I am missing
Thx
Andrea
Posts: 8
Participants: 4