{{ trigger.event.data[“textInput”] }} not working with this migration tried it on google and alexa ( it was perfectly working with ios push .
- service: notify.mobile_app_iphone_xs_rami
data:
title: Alarm kitchen
message: Someone is in the kitchen
data:
attachment:
content-type: jpeg
entity_id: camera.raspicam
actions:
- action: "TTS_ALARMLIVINGROOM_ALEXA"
title: "Home TTS Alarm alexa"
behavior: 'textInput'
textInputButtonTitle: 'Send TTS'
textInputPlaceholder: 'alexa?'
- action: 'TTS_ALARMLIVINGROOM_GOOGLE'
title: 'Home TTS Alarm google'
behavior: 'textInput'
textInputButtonTitle: 'Send TTS'
textInputPlaceholder: 'google'
- alias: "Home TTS Alarm google"
trigger:
platform: event
event_type: mobile_app_notification_action
event_data:
action: TTS_ALARMLIVINGROOM_GOOGLE
action:
- service: tts.cloud_say
data_template:
entity_id: media_player.living_room_speaker
message: >-
{{ trigger.event.data["textInput"] }}
cache: true
- alias: "Home TTS Alarm alexa"
trigger:
platform: event
event_type: mobile_app_notification_action
event_data:
action: TTS_ALARMLIVINGROOM_ALEXA
action:
- service: notify.alexa_media_rami_s_2nd_echo_dot
data:
target:
- media_player.rami_s_2nd_echo_dot
data:
type: announce
message: '{{ trigger.event.data["textInput"] }}'
~