Use Polly voice for Alexa actionable notifications
This commit is contained in:
@ -27,7 +27,8 @@ automation:
|
||||
action:
|
||||
- service: script.activate_alexa_actionable_notification
|
||||
data_template:
|
||||
text: 'The furnace room light is on, should I turn it off?'
|
||||
text: >-
|
||||
<voice name='Brian'><prosody rate='150%'>The furnace room light is on, should I turn it off?</prosody></voice>
|
||||
event_id: 'actionable_notification_furnace_room_light_on'
|
||||
alexa_device: 'media_player.basement_echo_dot'
|
||||
|
||||
|
12
scripts.yaml
12
scripts.yaml
@ -85,7 +85,8 @@ give_me_darkness:
|
||||
then:
|
||||
- service: script.activate_alexa_actionable_notification
|
||||
data_template:
|
||||
text: Would you like me to arm the security system?
|
||||
text: <voice name='Brian'><prosody rate='150%'>Would you like me to arm
|
||||
the security system?</prosody></voice>
|
||||
event_id: actionable_notification_night_security_arm
|
||||
alexa_device: '{{ states(''sensor.last_alexa'') }}'
|
||||
alias: Ask to arm security
|
||||
@ -279,11 +280,15 @@ going_upstairs:
|
||||
- service: media_player.turn_off
|
||||
target:
|
||||
entity_id: media_player.basement_tv
|
||||
data: {}
|
||||
- service: script.kallen_desktop_shutdown
|
||||
data: {}
|
||||
- service: script.asus_laptop_shutdown
|
||||
data: {}
|
||||
- service: script.activate_alexa_actionable_notification
|
||||
data_template:
|
||||
text: Would you like me to shut down your computer?
|
||||
text: <voice name='Brian'><prosody rate='150%'>Would you like me to shut down
|
||||
your computer?</prosody></voice>
|
||||
event_id: actionable_notification_shutdown_computer
|
||||
alexa_device: media_player.basement_echo_dot
|
||||
- wait_for_trigger:
|
||||
@ -304,7 +309,8 @@ basement_on:
|
||||
sequence:
|
||||
- service: script.activate_alexa_actionable_notification
|
||||
data_template:
|
||||
text: Would you like me to turn on the computer for Collin?
|
||||
text: <voice name='Brian'><prosody rate='150%'>Would you like me to turn on
|
||||
the computer for Collin?</prosody></voice>
|
||||
event_id: actionable_notification_kallen_computer_on
|
||||
alexa_device: '{{ states(''sensor.last_alexa'') }}'
|
||||
- service: light.turn_on
|
||||
|
Reference in New Issue
Block a user