Hi scenario, I want my SONOFF to come on if we are at home and its after 19:00 hrs
so I can use this
trigger:
platform: state
entity_id: group.all_devices
to: 'home'
condition:
platform: time
after: '19:00:00'
action:
- service: homeassistant.turn_on
entity_id: switch.Sonoff_3
But I also want the SONOFF to come on at 19:00 if we are already at home. so do I need to create a second automation where the trigger is the time and the condition is home.
Or can it be done on one automation.
Re Dave