Hi
I was tracking the device using locative and currently switched to iosApp. I see that status is changing correctly, but the automation is not working.
I triggering it by using
trigger:
- platform: state
entity_id: device_tracker.myphone
from: 'work'
to: 'not_home'
Is it a correct way to use it? Is it requires ios_ preffix like device_tracker.ios_myphone?
Thanks!
Yes it should be ios_name_iPhone.
Its the Device_ID that’s in the ios app under settings.
Yes, but in the app my device it is “myphone”
Please confirm I should use device_tracker.ios_myphone
?
You should use the name the device tracker actually has. Look in dev tools. I don’t have an ios before my device.
ok, that makes sense. actually i found that probably my script used in automation still wasn’t updated to use ios device tracking instead of locative.
1 Like