You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.2 KiB
40 lines
1.2 KiB
######################################################################################################
|
|
###Script to send notifications to the ChromeCast Audios during normal hours and only when we are home! Call like this:
|
|
# action:
|
|
# service: script.speech_engine
|
|
# data:
|
|
# call_no_announcement:
|
|
# call_dark_outside:
|
|
# call_window_check:
|
|
# call_garage_check:
|
|
# call_responsibilities
|
|
# call_light_check
|
|
# call_inside_weather
|
|
# call_outside_weather
|
|
# # @CCOSTAN
|
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
|
######################################################################################################
|
|
|
|
speech_engine:
|
|
mode: queued
|
|
sequence:
|
|
- condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: group.family
|
|
state: 'home'
|
|
- condition: state
|
|
entity_id: input_boolean.guest_mode
|
|
state: 'on'
|
|
|
|
- service: script.speech_processing
|
|
data:
|
|
media_player: media_player.livingroomcc
|
|
speech_message: !include ../templates/speech/briefing.yaml
|
|
|
|
- service: input_boolean.turn_off
|
|
data:
|
|
entity_id:
|
|
- input_boolean.home_stats
|
|
- input_boolean.responsibilities
|