Hi,
I have 3 entities storing respectively latitude, longitude and altitude of a device. I want to use these to keep up-to-date a device_tracker entity so I created an automation with that code:
- id: '1603005245535'
alias: Position Camino
description: Camino
trigger:
- platform: state
entity_id: sensor.tracker_latitude
- platform: state
entity_id: sensor.tracker_longitude
condition: []
action:
- service: device_tracker.see
data:
data_template:
dev_id: Camino
gps:
- '{{ states(''sensor.tracker_latitude'') }}'
- '{{ states(''sensor.tracker_latitude'') }}'
mode: parallel
max: 3
but when it runs it triggers an error stating:
must contain at least one of mac, dev_id
but I have a dev_ïd ! I tried to add also a fake mac id but same Any ideas what’s wrong there ? I have checked all docs I could find but no solution working
Thanks
Vincèn