What im trying to do is when a member of family comes home it just notifies that name I have tried different examples and nothing seems to work so im hoping that someone can help here.
alias: ‘Mobile Home’
trigger:
platform: state
entity_id:
device_tracker.user1
device_tracker.user2
device_tracker.user3
state: ‘home’
action:
service: switch.turn_on
entity_id:
switch.bedroom_led_power_onoff
switch.green_led
service: notify.push_firestick
data:
message: “Someone is Home”
I have been trying this for a few days now I still cant it to work.
If i change the data_template to data the message “is home” works. With data_template: nothing is pushed in message. Only option is to automation each user separate which i was going to avoid.
Anyone have anymore ideas