Hello,
First of all, I’m very new to Home Assistant and just try to understand the basics for now.
In the configuration.yaml I setup to use locative:
device_tracker:
- platform: locative
In the known_devices I have:
760db0a49bbf124e:
hide_if_away: false
mac:
name: Erik
picture:
track: true
vendor:
When I enter/leave a certain area I can see the Icon on the webpage change from HOME to AWAY so I know that the detection of my phone works ok.
I use a WeMo switch named “Other” to switch on/off when I’m home or not:
This is not working:
- alias: 'Iemand Thuis'
hide_entity: True
trigger:
platform: state
entity_id: device_tracker.Erik
state: 'home'
action:
service: switch.turn_on
entity_id: switch.Other
When I program a boolean it works:
- alias: 'ON'
hide_entity: True
trigger:
platform: state
entity_id: input_boolean.erik_home
state: 'on'
action:
service: switch.turn_on
entity_id: switch.Other
Any idea what the problem is with the locative setup?
Erik.