Hi
I have an automation which was working couple months ago. I think template changes could cause this issue
My automation sends notification with location when widget was tapped
- id: '000_1'
alias: Smth wrong from Argo
initial_state: true
trigger:
- platform: event
event_type: ios.action_fired
event_data:
actionID: _____
actionName: _____
sourceDeviceID: _____
sourceDeviceName: _____
sourceDevicePermanentID: _____
action:
- service: notify.mobile_app_argo
data:
message: 'Π‘Π²ΡΠΆΠΈΡΠ΅ΡΡ Ρ Π½ΠΈΠΌ'
title: 'ΠΡΠ³ΠΎ Π½Π°ΠΆΠ°Π» Π½Π° ΡΡΠ΅Π²ΠΎΠΆΠ½ΡΡ ΠΊΠ½ΠΎΠΏΠΊΡ'
data:
push:
category: map
sound:
name: default
critical: 1
volume: 1.0
action_data:
latitude: "{{states.person.argishti.attributes.latitude}}"
longitude: "{{states.person.argishti.attributes.longitude}}"
I receive the notification with text but without a map. I just see red issue that latitude was not sent or it was a stringβ. I checked template editor and it is a string, but it should be okβ¦
One thing I did not do correctly from the beginning (and it was perfectly working) - I did not use data_template because documentation is really frustrating and it is not clear at all where I should use data_template (but now I have tried it everywhere - did not help)
Guys, help. This is an important automation which hopefully never will be triggered (it is a red button - sends to family that something is wrong and attaches location). I just was checking if everything is fineβ¦