Any help on getting this to work 100% of the time. It seems to work when I leave before sunset and return after sunset. but not when I leave after sunset and return after sunset. Tried changing conditions to just after sunset, just before sunrise. Both mode single and restart. Can figure out what I’m doing wrong.
alias: Living room lights up upon arrival
description: Turns on the living room lights when my cell phone comes back from
away
trigger:
- platform: zone
entity_id: person.nicholas_heinrich
zone: zone.home
event: enter
id:
condition:
- condition: sun
after: sunset
before: sunrise
action:
- type: turn_on
device_id: 77e4ffd2606404f27a098ecbed68c32c
entity_id: light.living_room_wyze_bulb_east
domain: light
brightness_pct: 100
- type: turn_on
device_id: 29abd619e288133b863f7eeeed265a0b
entity_id: light.living_room_wyze_bulb_west
domain: light
brightness_pct: 100
mode: restart
3 posts - 2 participants