Hi guys,
I have a sensor (Unify) that detects if a certain WifiDevice is currently logged in my WiFi or not.
I want to do a simple automation that when a device is absence and comes back to the Wifi I get a push notification.
But I’m always searching where all the potential states of such a sensor are listed.
Is the state “On” or “Off” ? Is it “active / inactive” or “true / false” ?
How do I know that? Where can I found that states?
This is my automation so far. I just want to get a notification, when a device joins Wifi. But it doesnt work.
alias: Presence Detection
description: ''
trigger:
- platform: state
entity_id:
- device_tracker.peter_pixel_6
from: away
to: home
condition: []
action:
- service: notify.mobile_app_pixel_6
data:
message: He is home
title: Presence
mode: single