i setup the iOS platform with just an
iOS:
in my config. No extra notification platform added.
I can sent normal notifications but the following just won’t work. The message itself is delivered, i can even force touch on it to get an expanded view, but the map doenst show, just a big blank square with the notification text below…
If i hardcode a gps location i get a ‘loading map’ icon in expanded view but nothing ever shows…
alias: Koen vertrekt ergens, stuur travel time
trigger:
platform: state
entity_id: device_tracker.1
to: 'not_home'
action:
- condition: and
conditions:
- condition: template
value_template: "{{ trigger.from_state.state != 'not_home' }}"
- condition: template
value_template: "{{ trigger.from_state.state != 'home' }}"
- service: notify.ios_iphone_van_koen
data:
message: "Koen komt thuis in ongeveer {{ states.sensor.travel_time_to_home.state }} minuten."
data:
push:
category: map
action_data:
latitude: "{{ states.device_tracker.iphone_van_koen.attributes.latitude }}"
longitude: "{{ states.device_tracker.iphone_van_koen.attributes.longitude }}"
the states.device_tracker.iphone_van_koen.attributes.longitude works in the template editor, it shows a gps coordinate…
am i missing something obvious or is templating not possible with the map location?
(im aware the device tracker that changes state is different to the one i’m sending location of)