Not sure why, but when I add tts.google_translate_say and there are other actions the notification will fail.
It works fine with tts.google_translate_say alone however…
alias: Garage Door Notification
description: ''
trigger:
- platform: device
device_id: cce844dceb105e4353cde2beeb35cd0d
domain: cover
entity_id: cover.garage_door
type: opened
for:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
////////////////////////////////////////////////////////////
condition: []
action:
- service: tts.google_translate_say
data:
language: it
message: garage aperto
entity_id: media_player.all_the_speakers
////////////////////////////////////////////////////////////////
- service: notify.notify
data:
message: Garage Aperto
title: Garage
data:
entity_id: camera.garage_cam
actions:
- action: CLOSE_GARAGE_ACTION
title: close it
- wait_for_trigger:
- platform: event
event_type: ios.notification_action_fired
event_data:
actionName: CLOSE_GARAGE_ACTION
timeout: '00:05:00'
continue_on_timeout: false
- service: cover.close_cover
target:
entity_id: cover.garage_door
mode: single