Looking in this thread:
I’ve created an automation that creates a device_tracker entity which updates when the sensor updates:
alias: "Presence: Beacon X"
description: ""
trigger:
- platform: state
entity_id:
- sensor.x_beacon
condition: []
action:
- service: device_tracker.see
data:
dev_id: x_beacon
location_name: |
{% if trigger.to_state.state == 'home' %}
home
{% elif trigger.to_state.state == 'not_home' %}
not_home
{% else %}
unknown
{% endif %}
source_type: router
mode: single
max: 10
I have a few of these, and they can probably be merged into a single automation with templates, but I’m not that proficient yet with jinja.