I have way too many small automation’s, so I am trying to combine a few.
Which is best in this situation please? I want the hall light and front door light to turn on when one of us arrives home, even if the other one is already in the house. It is getting dark here, so like to have them come on for when my wife arrives back some nights after 8pm etc
trigger:
- platform: state
entity_id: device_tracker.helen
from: 'not_home'
to: 'home'
- platform: state
entity_id: device_tracker.mark
from: 'not_home'
to: 'home'
OR
trigger:
- platform: state
entity_id: device_tracker.helen, device_tracker.mark
from: 'not_home'
to: 'home'
I’m not sure if the 2nd solution will work (I’ve not tried myself) but the first one will definitely work.
I too have automations based on multiple triggers.