mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-08-20 04:33:09 +00:00
Catching up on old updates.
This commit is contained in:
@@ -111,4 +111,34 @@ automation:
|
||||
call_skylar_events: 1
|
||||
call_clothes_suggestion: 1
|
||||
|
||||
- id: set_skylar_morning_report_time
|
||||
alias: set skylar morning report time
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '05:50:00'
|
||||
action:
|
||||
- service: input_datetime.set_datetime
|
||||
entity_id: input_datetime.skylar_morning_report
|
||||
data_template:
|
||||
time: >
|
||||
{% if states.calendar.skylar_school.attributes.offset_reached == True %}
|
||||
06:30
|
||||
{% else %}
|
||||
07:58
|
||||
{% endif %}
|
||||
|
||||
- id: set_morning_report_time
|
||||
alias: set morning report time
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '05:50:30'
|
||||
action:
|
||||
- service: input_datetime.set_datetime
|
||||
entity_id: input_datetime.morning_report
|
||||
data_template:
|
||||
time: >
|
||||
{% if states.calendar.skylar_school.attributes.offset_reached == True %}
|
||||
07:00
|
||||
{% else %}
|
||||
07:45
|
||||
{% endif %}
|
||||
|
@@ -57,7 +57,7 @@ automation:
|
||||
to: 'off'
|
||||
action:
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.ha_speaker
|
||||
- service: script.turn_on
|
||||
entity_id: script.kill_this_ride
|
||||
- id: illuminations_on
|
||||
@@ -113,7 +113,7 @@ automation:
|
||||
- service: script.turn_on
|
||||
entity_id: script.kill_this_ride
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.ha_speaker
|
||||
- id: happy_ever_after_on
|
||||
alias: Happy Ever After On
|
||||
initial_state: true
|
||||
@@ -135,7 +135,7 @@ automation:
|
||||
- service: script.turn_on
|
||||
entity_id: script.kill_this_ride
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.ha_speaker
|
||||
- id: haunted_mansion_on
|
||||
alias: Haunted Mansion On
|
||||
initial_state: true
|
||||
@@ -156,7 +156,7 @@ automation:
|
||||
action:
|
||||
- service: script.kill_this_ride
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.ha_speaker
|
||||
- id: spaceship_earth_on
|
||||
alias: Spaceship Earth On
|
||||
initial_state: true
|
||||
@@ -178,7 +178,7 @@ automation:
|
||||
- service: script.turn_on
|
||||
entity_id: script.kill_this_ride
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.ha_speaker
|
||||
- id: boo_to_you_show_on
|
||||
alias: Boo To You Show On
|
||||
initial_state: true
|
||||
@@ -200,7 +200,7 @@ automation:
|
||||
- service: script.turn_on
|
||||
entity_id: script.kill_this_ride
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.ha_speaker
|
||||
- id: boo_to_you_on
|
||||
alias: Boo To You On
|
||||
initial_state: true
|
||||
@@ -222,7 +222,7 @@ automation:
|
||||
- service: script.turn_on
|
||||
entity_id: script.kill_this_ride
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.ha_speaker
|
||||
- id: holiday_wisher_on
|
||||
alias: Holiday Wishes On
|
||||
initial_state: true
|
||||
@@ -244,7 +244,52 @@ automation:
|
||||
- service: script.turn_on
|
||||
entity_id: script.kill_this_ride
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.ha_speaker
|
||||
|
||||
- id: kill_show
|
||||
alias: Kill Show
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- script.haunted_mansion_show_sequence
|
||||
- script.haunted_mansion_start
|
||||
- script.illuminations_show
|
||||
- script.boo_to_you_show
|
||||
- script.happy_ever_after_show
|
||||
- script.tiki_room_audio
|
||||
- script.mk_loop
|
||||
- script.spaceship_earth_ride
|
||||
from: 'on'
|
||||
to: 'off'
|
||||
action:
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.ha_speaker
|
||||
- service: scene.turn_on
|
||||
entity_id: scene.normal_livingroom_lighting
|
||||
initial_state: true
|
||||
|
||||
# - id: house_lights_up
|
||||
# alias: House Lights Up
|
||||
# trigger:
|
||||
# - platform: state
|
||||
# entity_id:
|
||||
# - script.haunted_mansion_show_sequence
|
||||
# - script.haunted_mansion_start
|
||||
# - script.illuminations_show
|
||||
# - script.boo_to_you_show
|
||||
# - script.happy_ever_after_show
|
||||
# - script.tiki_room_audio
|
||||
# - script.mk_loop
|
||||
# - script.spaceship_earth_ride
|
||||
# from: 'on'
|
||||
# to: 'off'
|
||||
# action:
|
||||
# - service: media_player.media_stop
|
||||
# entity_id: media_player.ha_speaker
|
||||
# - service: scene.turn_on
|
||||
# entity_id: scene.normal_livingroom_lighting
|
||||
# initial_state: true
|
||||
|
||||
|
||||
script:
|
||||
kill_hurry_back:
|
||||
@@ -300,15 +345,20 @@ script:
|
||||
- condition: state
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
- service: input_boolean.turn_on
|
||||
entity_id: input_boolean.show_time
|
||||
#- service: shell_command.haunted_mansion_preshow_full
|
||||
- service: media_player.turn_on
|
||||
entity_id: media_player.ha_speaker
|
||||
- service: media_player.volume_set
|
||||
data_template:
|
||||
entity_id: media_player.hass_speaker
|
||||
volume_level: .7
|
||||
entity_id: media_player.ha_speaker
|
||||
volume_level: .4
|
||||
- service: media_player.play_media
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.ha_speaker
|
||||
data:
|
||||
media_content_id: /media/audio/haunted_mansion_preshow_full.mp3
|
||||
#media_content_id: /media/audio/haunted_mansion_preshow_full.mp3
|
||||
media_content_id: http://192.168.7.40/audio/haunted_mansion_preshow_short.mp3
|
||||
media_content_type: "music"
|
||||
- data:
|
||||
entity_id: script.haunted_preshow
|
||||
@@ -358,7 +408,7 @@ script:
|
||||
kill_this_ride:
|
||||
sequence:
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.ha_speaker
|
||||
- service: shell_command.alarm_off
|
||||
- service: script.turn_off
|
||||
data:
|
||||
@@ -408,14 +458,16 @@ script:
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
#- service: shell_command.dance_it
|
||||
- service: media_player.turn_on
|
||||
entity_id: media_player.ha_speaker
|
||||
- service: media_player.volume_set
|
||||
data_template:
|
||||
entity_id: media_player.hass_speaker
|
||||
volume_level: .7
|
||||
entity_id: media_player.ha_speaker
|
||||
volume_level: .5
|
||||
- service: media_player.play_media
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.ha_speaker
|
||||
data:
|
||||
media_content_id: /media/audio/move_it_shake_dance_audio.mp3
|
||||
media_content_id: http://192.168.7.40/audio/move_it_shake_dance_audio.mp3
|
||||
media_content_type: "music"
|
||||
spaceship_earth_ride:
|
||||
sequence:
|
||||
@@ -426,14 +478,16 @@ script:
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
#- service: shell_command.spaceship_earth_ride
|
||||
- service: media_player.turn_on
|
||||
entity_id: media_player.ha_speaker
|
||||
- service: media_player.volume_set
|
||||
data_template:
|
||||
entity_id: media_player.hass_speaker
|
||||
volume_level: .7
|
||||
entity_id: media_player.ha_speaker
|
||||
volume_level: .5
|
||||
- service: media_player.play_media
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.ha_speaker
|
||||
data:
|
||||
media_content_id: media/audio/spaceship_earth_ride.mp3
|
||||
media_content_id: http://192.168.7.40/audio/spaceship_earth_ride.mp3
|
||||
media_content_type: "music"
|
||||
welcome_to_magic_kingdom:
|
||||
sequence:
|
||||
@@ -480,14 +534,16 @@ script:
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
#- service: shell_command.welcome_show_crowd
|
||||
- service: media_player.turn_on
|
||||
entity_id: media_player.ha_speaker
|
||||
- service: media_player.volume_set
|
||||
data_template:
|
||||
entity_id: media_player.hass_speaker
|
||||
volume_level: .7
|
||||
entity_id: media_player.ha_speaker
|
||||
volume_level: .5
|
||||
- service: media_player.play_media
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.ha_speaker
|
||||
data:
|
||||
media_content_id: /media/audio/welcome_show_crowd.mp3
|
||||
media_content_id: http://192.168.7.40/audio/welcome_show_crowd.mp3
|
||||
media_content_type: "music"
|
||||
holiday_wishes_start:
|
||||
sequence:
|
||||
@@ -508,10 +564,12 @@ script:
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
#- service: shell_command.holiday_wishes
|
||||
- service: media_player.turn_on
|
||||
entity_id: media_player.ha_speaker
|
||||
- service: media_player.play_media
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.ha_speaker
|
||||
data:
|
||||
media_content_id: /media/audio/wishes_5_min.mp3
|
||||
media_content_id: http://192.168.7.40/audio/wishes_5_min.mp3
|
||||
media_content_type: "music"
|
||||
boo_to_you_show:
|
||||
sequence:
|
||||
@@ -522,10 +580,12 @@ script:
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
#- service: shell_command.boo_to_you
|
||||
- service: media_player.turn_on
|
||||
entity_id: media_player.ha_speaker
|
||||
- service: media_player.play_media
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.ha_speaker
|
||||
data:
|
||||
media_content_id: /media/audio/boo_to_you_audio.mp3
|
||||
media_content_id: http://192.168.7.40/audio/boo_to_you_audio.mp3
|
||||
media_content_type: "music"
|
||||
happy_ever_after_show:
|
||||
sequence:
|
||||
@@ -536,25 +596,29 @@ script:
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
#- service: shell_command.happily_ever_after
|
||||
- service: media_player.turn_on
|
||||
entity_id: media_player.ha_speaker
|
||||
- service: media_player.play_media
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.ha_speaker
|
||||
data:
|
||||
media_content_id: /media/audio/Happily_Ever_After_Audio.mp3
|
||||
media_content_type: "music"
|
||||
boo_to_you:
|
||||
sequence:
|
||||
- condition: state
|
||||
entity_id: input_boolean.audible_notifications
|
||||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
#- service: shell_command.boo_to_you
|
||||
- service: media_player.play_media
|
||||
entity_id: media_player.hass_speaker
|
||||
data:
|
||||
media_content_id: /media/audio/boo_to_you_audio.mp3
|
||||
media_content_id: http://192.168.7.40/audio/Happily_Ever_After_Audio.mp3
|
||||
media_content_type: "music"
|
||||
# boo_to_you:
|
||||
# sequence:
|
||||
# - condition: state
|
||||
# entity_id: input_boolean.audible_notifications
|
||||
# state: 'on'
|
||||
# - condition: state
|
||||
# entity_id: sensor.family_status
|
||||
# state: Home
|
||||
# #- service: shell_command.boo_to_you
|
||||
# - service: media_player.turn_on
|
||||
# entity_id: media_player.ha_speaker
|
||||
# - service: media_player.play_media
|
||||
# entity_id: media_player.ha_speaker
|
||||
# data:
|
||||
# media_content_id: http://192.168.7.40/audio/boo_to_you_audio.mp3
|
||||
# media_content_type: "music"
|
||||
tiki_room_audio:
|
||||
sequence:
|
||||
- condition: state
|
||||
@@ -564,33 +628,39 @@ script:
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
#- service: shell_command.tiki_room_audio
|
||||
- service: media_player.turn_on
|
||||
entity_id: media_player.ha_speaker
|
||||
- service: media_player.turn_on
|
||||
entity_id: media_player.ha_speaker
|
||||
- service: media_player.volume_set
|
||||
data_template:
|
||||
entity_id: media_player.hass_speaker
|
||||
volume_level: .9
|
||||
entity_id: media_player.ha_speaker
|
||||
volume_level: .5
|
||||
- service: media_player.play_media
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.ha_speaker
|
||||
data:
|
||||
media_content_id: /media/audio/tiki_room_audio.mp3
|
||||
media_content_type: "music"
|
||||
happy_ever_after:
|
||||
sequence:
|
||||
- condition: state
|
||||
entity_id: input_boolean.audible_notifications
|
||||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
#- service: shell_command.happily_ever_after
|
||||
- service: media_player.volume_set
|
||||
data_template:
|
||||
entity_id: media_player.hass_speaker
|
||||
volume_level: .7
|
||||
- service: media_player.play_media
|
||||
entity_id: media_player.hass_speaker
|
||||
data:
|
||||
media_content_id: /media/audio/Happily_Ever_After_Audio.mp3
|
||||
media_content_id: http://192.168.7.40/audio/tiki_room_audio.mp3
|
||||
media_content_type: "music"
|
||||
# happy_ever_after:
|
||||
# sequence:
|
||||
# - condition: state
|
||||
# entity_id: input_boolean.audible_notifications
|
||||
# state: 'on'
|
||||
# - condition: state
|
||||
# entity_id: sensor.family_status
|
||||
# state: Home
|
||||
# #- service: shell_command.happily_ever_after
|
||||
# - service: media_player.turn_on
|
||||
# entity_id: media_player.ha_speaker
|
||||
# - service: media_player.volume_set
|
||||
# data_template:
|
||||
# entity_id: media_player.ha_speaker
|
||||
# volume_level: .5
|
||||
# - service: media_player.play_media
|
||||
# entity_id: media_player.ha_speaker
|
||||
# data:
|
||||
# media_content_id: http://192.168.7.40/audio/Happily_Ever_After_Audio.mp3
|
||||
# media_content_type: "music"
|
||||
illuminations_lights_out:
|
||||
sequence:
|
||||
- delay: 00:00:57
|
||||
@@ -635,14 +705,16 @@ script:
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
#- service: shell_command.illuminations_audio
|
||||
- service: media_player.turn_on
|
||||
entity_id: media_player.ha_speaker
|
||||
- service: media_player.volume_set
|
||||
data_template:
|
||||
entity_id: media_player.hass_speaker
|
||||
volume_level: .7
|
||||
entity_id: media_player.ha_speaker
|
||||
volume_level: .5
|
||||
- service: media_player.play_media
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.ha_speaker
|
||||
data:
|
||||
media_content_id: /media/audio/illuminations.mp3
|
||||
media_content_id: http://192.168.7.40/audio/illuminations.mp3
|
||||
media_content_type: "music"
|
||||
- service: script.turn_on
|
||||
entity_id: script.illuminations_preshow
|
||||
|
@@ -65,6 +65,7 @@ notify:
|
||||
consumer_secret: !secret twitter_consumer_secret
|
||||
access_token: !secret twitter_access_token
|
||||
access_token_secret: !secret twitter_access_secret
|
||||
|
||||
|
||||
script:
|
||||
|
||||
@@ -171,17 +172,21 @@ script:
|
||||
- condition: state
|
||||
entity_id: input_boolean.vacation_mode
|
||||
state: 'off'
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.ha_speaker
|
||||
- service: tts.google_translate_say
|
||||
data_template:
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.guest_tv
|
||||
message: >
|
||||
{{ message }}
|
||||
|
||||
jarvis_alert:
|
||||
sequence:
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.ha_speaker
|
||||
- service: tts.amazon_polly_say
|
||||
data_template:
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.guest_tv
|
||||
message: >-
|
||||
<speak>
|
||||
{{ message }}
|
||||
@@ -206,12 +211,14 @@ script:
|
||||
- condition: state
|
||||
entity_id: input_boolean.vacation_mode
|
||||
state: 'off'
|
||||
- condition: state
|
||||
entity_id: media_player.hass_speaker
|
||||
# - service: switch.turn_on
|
||||
# entity_id: switch.ha_speaker
|
||||
# - condition: state
|
||||
entity_id: media_player.guest_tv
|
||||
state: 'idle'
|
||||
- service: tts.google_translate_say
|
||||
data_template:
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.guest_tv
|
||||
message: >
|
||||
{{message }}
|
||||
|
||||
@@ -230,21 +237,27 @@ script:
|
||||
- condition: state
|
||||
entity_id: input_boolean.vacation_mode
|
||||
state: 'off'
|
||||
- service: media_player.turn_on
|
||||
entity_id: media_player.hass_speaker
|
||||
- wait_template: >-
|
||||
{{ not is_state('media_player.hass_speaker', 'playing') }}
|
||||
- service: media_player.volume_set
|
||||
data_template:
|
||||
entity_id: media_player.hass_speaker
|
||||
volume_level: .65
|
||||
# - service: switch.turn_on
|
||||
# entity_id: switch.ha_speaker
|
||||
# - service: media_player.turn_on
|
||||
# entity_id: media_player.guest_tv
|
||||
# - service: media_player.volume_set
|
||||
# data_template:
|
||||
# entity_id: media_player.guest_tv
|
||||
# volume_level: >
|
||||
# {% if states.input_boolean.audible_notifications.state == 'on' %}
|
||||
# .65
|
||||
# {% else %}
|
||||
# .4
|
||||
# {% endif %}
|
||||
# media_player.googlehome0715, media_player.googlehomehub3492, media_player.upstairs_speaker
|
||||
- service: tts.amazon_polly_say
|
||||
data_template:
|
||||
entity_id: >
|
||||
{% if states.input_boolean.audible_notifications.state == 'on' %}
|
||||
media_player.hass_speaker, media_player.googlehome0715, media_player.googlehomehub3492
|
||||
media_player.house
|
||||
{% else %}
|
||||
media_player.googlehome0715, media_player.googlehomehub3492, media_player.upstairs_speaker
|
||||
media_player.house
|
||||
{% endif %}
|
||||
message: >-
|
||||
<speak>
|
||||
@@ -326,8 +339,10 @@ script:
|
||||
{% macro morning_greeting() %}
|
||||
{{ [ "Time to Rise and Shine. ",
|
||||
"Let's do this thing.",
|
||||
"Anchorage House."
|
||||
"The early bird gets the worm. And look over there. A worm. Wait, is that a snake? umm,,,I don't like snakes. Someone might want to take care,, ok,,, moving on.",
|
||||
"I hope you got some rest.",
|
||||
"It's time to get the day started.",
|
||||
"Glad to see everyone made it.",
|
||||
"The early bird gets the worm. And look over there. A worm.",
|
||||
"The early bird gets the worm.",
|
||||
"from the bridge.",
|
||||
"Pardom the interuption.",
|
||||
@@ -482,8 +497,8 @@ script:
|
||||
{% macro prebed_routine() %}
|
||||
Skylar,
|
||||
{{ [ "It is time to get in the bath. ",
|
||||
"You only have thirty minutes until bedtime. That means you should be heading for the bathtub."
|
||||
"I cannot comminicate with the bathtub otherwise I would have started the water for you already, so you will have to do it manually. It's bath time. ",
|
||||
"You only have thirty minutes until bedtime. That means you should be heading for the bathtub.",
|
||||
"I cannot comminicate with the bathtub, otherwise, I would have started the water for you already. So you will have to start the bath yourself. ",
|
||||
"My sensors are detecting a strange smell. I am running diagnostics, but in the mean time why don't you start a bath.",
|
||||
] | random }}
|
||||
If you go now there may be time for stories. Don't forget to brush your teeth.
|
||||
@@ -497,7 +512,7 @@ script:
|
||||
|
||||
|
||||
{% macro school_today() %}
|
||||
{% if is_state("calendar.skylar_school", "on") %}
|
||||
{% if states.calendar.skylar_school.attributes.offset_reached == True %}
|
||||
Because you have school today!
|
||||
{% if states.calendar.skylar_school.attributes.description == "early-release" %}
|
||||
And guess what? It is early release!
|
||||
|
@@ -204,6 +204,8 @@ automation:
|
||||
- service: script.appliances_on
|
||||
- service: script.standby
|
||||
- service: script.washer_finished_notification_audible
|
||||
- service: alarm_control_panel.alarm_disarm
|
||||
entity_id: alarm_control_panel.ah_base_station
|
||||
initial_state: true
|
||||
|
||||
- id: family_has_left
|
||||
@@ -226,6 +228,8 @@ automation:
|
||||
- service: script.lockdown
|
||||
- service: script.lockdown_issue
|
||||
- service: script.all_fans_off
|
||||
- service: alarm_control_panel.alarm_arm_away
|
||||
entity_id: alarm_control_panel.ah_base_station
|
||||
|
||||
- id: jeff_is_home
|
||||
alias: Jeff is Home
|
||||
@@ -298,10 +302,14 @@ automation:
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- person.jeffrey
|
||||
- person.katherine
|
||||
- device_tracker.jeffreystonesiphone
|
||||
- device_tracker.katherinestonesiphone
|
||||
from: 'not_home'
|
||||
to: 'home'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
action:
|
||||
- service: script.ah_report
|
||||
data_template:
|
||||
|
@@ -102,6 +102,7 @@ automation:
|
||||
state: "on"
|
||||
action:
|
||||
- service: script.driveway_on
|
||||
|
||||
|
||||
- id: close_garage_lights_out
|
||||
alias: Close Garage at lights out
|
||||
@@ -347,10 +348,10 @@ script:
|
||||
# entity_id: input_boolean.audible_notifications
|
||||
# state: 'on'
|
||||
# - condition: state
|
||||
# entity_id: media_player.hass_speaker
|
||||
# entity_id: media_player.theater
|
||||
# state: 'idle'
|
||||
# - service: tts.google_say
|
||||
# entity_id: media_player.hass_speaker
|
||||
# entity_id: media_player.theater
|
||||
# data_template:
|
||||
# message: "Sentry mode activated"
|
||||
|
||||
@@ -360,10 +361,10 @@ script:
|
||||
# entity_id: input_boolean.audible_notifications
|
||||
# state: 'on'
|
||||
# - condition: state
|
||||
# entity_id: media_player.hass_speaker
|
||||
# entity_id: media_player.theater
|
||||
# state: 'idle'
|
||||
# - service: tts.google_say
|
||||
# entity_id: media_player.hass_speaker
|
||||
# entity_id: media_player.theater
|
||||
# data_template:
|
||||
# message: "Sentry mode deactivated"
|
||||
|
||||
|
@@ -29,9 +29,9 @@ sensor:
|
||||
- 'time_date'
|
||||
- 'time_utc'
|
||||
- 'beat'
|
||||
- platform: cert_expiry
|
||||
host: !secret ahsl_base_url
|
||||
name: SSL Cert Expiration
|
||||
# - platform: cert_expiry
|
||||
# host: !secret ahsl_base_url
|
||||
# name: SSL Cert Expiration
|
||||
- platform: command_line
|
||||
name: "HA Uptime"
|
||||
command: echo "$(($(date +%s) - $(date -d "$(head -n1 /home/homeassistant/.homeassistant/home-assistant.log | cut -d' ' -f-2)" +%s)))"
|
||||
|
@@ -200,7 +200,7 @@ automation:
|
||||
to: 'on'
|
||||
action:
|
||||
- service: media_player.play_media
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.theater
|
||||
data:
|
||||
media_content_id: /media/audio/Tornado_Siren.mp3
|
||||
media_content_type: "music"
|
||||
@@ -215,7 +215,7 @@ automation:
|
||||
|
||||
action:
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.theater
|
||||
|
||||
|
||||
script:
|
||||
|
Reference in New Issue
Block a user