Fixing some typos....

This commit is contained in:
Jeffrey Stone 2020-12-03 00:11:42 -05:00
parent ddf2db533d
commit 68d5778513
3 changed files with 20 additions and 44 deletions

View File

@ -163,20 +163,12 @@ automation:
action: action:
- service: scene.turn_on - service: scene.turn_on
entity_id: scene.skylar_room_morning entity_id: scene.skylar_room_morning
- service: script.skylar_morning_briefing - service: >
# - service: notify.alexa_media_skylar_s_bedroom {%- if is_state('binary_sensor.theater_occupancy', 'on') and is_state('media_player.theater_tv', 'on') %}
# data: script.skylar_morning_briefing_jarvis
# message: Good Morning Skylar. Time to Rise and Shine. {% else %}
# data: script.skylar_morning_briefing_alexa
# type: tts {%- endif %}
# - delay:
# seconds: 30
# - service: notify.alexa_media_skylar_s_bedroom
# data:
# message: Good Morning Skylar. You have school today. Time to get up.
# data:
# type: tts
- id: set_skylar_morning_report_time - id: set_skylar_morning_report_time
alias: set skylar morning report time alias: set skylar morning report time
@ -232,23 +224,20 @@ script:
who: kitchen who: kitchen
message: !include ../templates/speech/event_briefing.yaml message: !include ../templates/speech/event_briefing.yaml
skylar_morning_briefing: skylar_morning_briefing_jarvis:
sequence: sequence:
- service: > - service: script.jarvis_voice
{%- if is_state('binary_sensor.theater_occupancy', 'on') and is_state('media_player.theater_tv', 'on') %} data:
script.jarvis_voice
{% else %}
notify.alexa_media_skylar_s_bedroom
{%- endif %}
data: >
{%- if is_state('binary_sensor.theater_occupancy', 'on') and is_state('media_player.theater_tv', 'on') %}
who: main who: main
message: !include ../templates/speech/skylar_morning_briefing.yaml message: !include ../templates/speech/skylar_morning_briefing.yaml
{% else %}
message: !include ../templates/speech/skylar_morning_briefing.yaml skylar_morning_briefing_alexa:
sequence:
- service: notify.alexa_media_skylar_s_bedroom
data:
message: !include ../templates/speech/skylar_morning_briefing.yaml
data: data:
type: tts type: tts
{%- endif %}
skylar_nightly_briefing: skylar_nightly_briefing:
sequence: sequence:

View File

@ -159,8 +159,8 @@ script:
'I am sure you have more inportant things to do, but do not forget to empty the washer.', 'I am sure you have more inportant things to do, but do not forget to empty the washer.',
'Looks like the washing machine has completed it is cycle. You know what to do. <break time="1s"/> I hope.', 'Looks like the washing machine has completed it is cycle. You know what to do. <break time="1s"/> I hope.',
'Do not forget to move the clothes to the dryer.', 'Do not forget to move the clothes to the dryer.',
"Someone forgot to move the clothes to the dryer. I am not going to name any names. But there is a camera in there. ", 'Someone forgot to move the clothes to the dryer. I am not going to name any names. But there is a camera in there. ',
"Do you like when your clothes smell like mildew? Because that is what is happeneing. <break time="1s"/> Right now. " 'Do you like when your clothes smell like mildew? Because that is what is happeneing. <break time="1s"/> Right now. '
] | random }} ] | random }}
</p> </p>

View File

@ -23,14 +23,7 @@ automation:
- service: script.jarvis_voice - service: script.jarvis_voice
data_template: data_template:
who: '{{ states.sensor.room_audio.state }}' who: '{{ states.sensor.room_audio.state }}'
message: > message: Incense has been turned on.
<p>
{{ [
'Anchorage House has been configured for a House Party.',
'Incense has been turned on.',
'I have enabled house party protocol.'
] | random }}
</p>
- id: house_party_protocol_off - id: house_party_protocol_off
alias: Turn Off House Party Protocol alias: Turn Off House Party Protocol
@ -45,11 +38,5 @@ automation:
- service: script.jarvis_voice - service: script.jarvis_voice
data_template: data_template:
who: '{{ states.sensor.room_audio.state }}' who: '{{ states.sensor.room_audio.state }}'
message: > message: Incense has been turned off.
<p>
{{ [
'The House Party has been canceled.',
'Incense has been turned off.',
'I have disabled house party protocol.'
] | random }}
</p>