Hi all
I’ve got HA working with my ASUS router and its tracking devices perfectly
I’m trying to make some automation messages when people home and away
I added the following into notify.yaml
- platform: ios
name: iOSApp
target: MY KEY HERE
I added the following into the automation.yaml
trigger:
platform: state
entity_id: device_tracker.my-iphone
from: 'not_home'
to: 'home'
action:
service: notify.iOSApp
data:
message: 'Person is now home'
I now get this error message
Invalid config for [automation]: Entity ID device_tracker.my-iphone is an invalid entity id for dictionary value @ data[‘trigger’][0][‘entity_id’]. Got None
Service notify.iOSApp does not match format . for dictionary value @ data[‘action’][0][‘service’]. Got None. (See /config/configuration.yaml, line 100). Please check the docs at https://home-assistant.io/components/automation/
I know that the entity device_tracker.my-iphone is right and its working in UI showing away or home
Also is the service iOSApp wrong does it need to be ios not the alias ?
Thanks in advance