Hello.
I’m trying to turn on my RF alarm when I leave home. So far I have everything else working but this. I can see in the History tab that my device changes state from “Home” to “Away” when I connect and disconnect my smartphone. The smartphone is sometimes “Unavailable” but I guess I will deal with that later.
Everything I have read so far deals with setting up the device tracker integration, person tracking and multiple services at the same time but not one example of using the nmap device state directy.
Thanks in advance.
- id: '1642618526014'
alias: state test
description: ''
trigger:
- platform: state
entity_id: device_tracker.xiaomi_communications_ff_44_ea
to: 'Home'
condition: []
action:
- service: persistent_notification.create
data:
message: home
mode: single
1 post - 1 participant