mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-18 19:26:57 +00:00
Adding in More Speech! Really Love TTS.
This commit is contained in:
@@ -38,7 +38,7 @@
|
|||||||
- light.sink
|
- light.sink
|
||||||
- service: script.Voice_notify
|
- service: script.Voice_notify
|
||||||
data_template:
|
data_template:
|
||||||
value1: "It is getting a little dark because of the {{trigger.entity_id.split('_')[2]|replace('precip','rain') }} {{trigger.entity_id.split('_')[3]|replace('intensity',' ')}}
|
value1: "It is getting a little dark inside the house because of the {{trigger.entity_id.split('_')[2]|replace('precip','rain') }} {{trigger.entity_id.split('_')[3]|replace('intensity',' ')}}
|
||||||
outside. I will turn on some extra lights in the living room."
|
outside. I will turn on some extra lights in the living room."
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
@@ -62,4 +62,4 @@
|
|||||||
transition: 1200
|
transition: 1200
|
||||||
- service: script.Voice_notify
|
- service: script.Voice_notify
|
||||||
data_template:
|
data_template:
|
||||||
value1: "Sun is back out. Let's turn down these lights now."
|
value1: "The sun is back out. Let's turn down these lights now."
|
29
automation/home_today.yaml
Executable file
29
automation/home_today.yaml
Executable file
@@ -0,0 +1,29 @@
|
|||||||
|
######################################################################
|
||||||
|
## Announce when people come or go.
|
||||||
|
## Announce over all Chromecast Audios
|
||||||
|
######################################################################
|
||||||
|
- alias: 'Home Stats'
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
- platform: state
|
||||||
|
entity_id:
|
||||||
|
- group.family
|
||||||
|
from: 'not_home'
|
||||||
|
to: 'home'
|
||||||
|
|
||||||
|
action:
|
||||||
|
- service: script.Voice_notify
|
||||||
|
data_template:
|
||||||
|
value1: >
|
||||||
|
"Welcome Home {{ trigger.entity_id.split('.')[1]|replace('_', ' ') }}. Here are the main points for today:
|
||||||
|
{%if now().strftime("%a") == 'Wed' or now().strftime("%a") == 'Sun'%}
|
||||||
|
Today is {{now().strftime("%A")}} and {{now().strftime("%A")}} is trash day. Please be sure to tell the kids to take out the trash.
|
||||||
|
{%endif%}
|
||||||
|
Inside the house, it is {{ states.climate.downstairs.attributes["current_temperature"]}} degrees with {{states('sensor.downstairs_thermostat_humidity')}} around percent humidity. Outside, it is going to be {{states('sensor.dark_sky_minutely_summary')}}
|
||||||
|
{% if is_state('cover.garadget_large', 'open') -%}
|
||||||
|
Also, The Large Garage Door is still open
|
||||||
|
{% endif -%}
|
||||||
|
{% if is_state('cover.garadget_small', 'open') -%}
|
||||||
|
{% if is_state('cover.garadget_large', 'open') -%}and
|
||||||
|
{%- endif %} The small Garage Door is still open.
|
||||||
|
{% endif %}
|
@@ -9,13 +9,6 @@ input_boolean.alert_mode:
|
|||||||
icon: mdi:alert-octagram
|
icon: mdi:alert-octagram
|
||||||
|
|
||||||
|
|
||||||
input_boolean.chore_reminder:
|
|
||||||
friendly_name: 'Chore Reminder'
|
|
||||||
emulated_hue: False
|
|
||||||
hidden: False
|
|
||||||
icon: mdi:human-male-female
|
|
||||||
|
|
||||||
|
|
||||||
input_boolean.guest_mode:
|
input_boolean.guest_mode:
|
||||||
friendly_name: 'Guest Mode'
|
friendly_name: 'Guest Mode'
|
||||||
emulated_hue: True
|
emulated_hue: True
|
||||||
|
@@ -4,24 +4,46 @@
|
|||||||
scene.front_full_brightness:
|
scene.front_full_brightness:
|
||||||
friendly_name: 'Front Full Brightness'
|
friendly_name: 'Front Full Brightness'
|
||||||
emulated_hue: True
|
emulated_hue: True
|
||||||
hidden: false
|
hidden: False
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
scene.living_room_tv_time:
|
scene.living_room_tv_time:
|
||||||
friendly_name: 'TV Time'
|
friendly_name: 'Tv Time'
|
||||||
emulated_hue: True
|
emulated_hue: True
|
||||||
hidden: false
|
hidden: False
|
||||||
|
|
||||||
scene.month_12_colors:
|
|
||||||
friendly_name: 'Month 12 Colors'
|
|
||||||
emulated_hue: False
|
|
||||||
hidden: true
|
|
||||||
|
|
||||||
scene.month_01_colors:
|
|
||||||
friendly_name: 'Month 01 Colors'
|
|
||||||
emulated_hue: False
|
|
||||||
hidden: true
|
|
||||||
|
|
||||||
scene.month_02_colors:
|
scene.month_marti_gras_colors:
|
||||||
friendly_name: 'Month 02 Colors'
|
friendly_name: 'Month Marti Gras Colors'
|
||||||
emulated_hue: False
|
emulated_hue: False
|
||||||
hidden: true
|
hidden: True
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
scene.month_rwb_colors:
|
||||||
|
friendly_name: 'Month Rwb Colors'
|
||||||
|
emulated_hue: False
|
||||||
|
hidden: True
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
scene.month_st_patty_colors:
|
||||||
|
friendly_name: 'Month St Patty Colors'
|
||||||
|
emulated_hue: False
|
||||||
|
hidden: True
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
scene.month_standard_colors:
|
||||||
|
friendly_name: 'Month Standard Colors'
|
||||||
|
emulated_hue: False
|
||||||
|
hidden: True
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
scene.month_valentine_colors:
|
||||||
|
friendly_name: 'Month Valentine Colors'
|
||||||
|
emulated_hue: False
|
||||||
|
hidden: True
|
@@ -14,15 +14,6 @@ script.front_house_motion:
|
|||||||
emulated_hue: False
|
emulated_hue: False
|
||||||
hidden: True
|
hidden: True
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
script.holiday_switches_on:
|
|
||||||
friendly_name: 'Holiday Switches On'
|
|
||||||
emulated_hue: False
|
|
||||||
hidden: False
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
script.ifttt_notify:
|
script.ifttt_notify:
|
||||||
friendly_name: 'Ifttt Notify'
|
friendly_name: 'Ifttt Notify'
|
||||||
emulated_hue: False
|
emulated_hue: False
|
||||||
@@ -62,5 +53,3 @@ script.voice_notify:
|
|||||||
friendly_name: 'Voice Notify'
|
friendly_name: 'Voice Notify'
|
||||||
emulated_hue: False
|
emulated_hue: False
|
||||||
hidden: True
|
hidden: True
|
||||||
|
|
||||||
|
|
@@ -7,59 +7,27 @@
|
|||||||
|
|
||||||
switch_turn_off_all:
|
switch_turn_off_all:
|
||||||
sequence:
|
sequence:
|
||||||
- service: switch.turn_off
|
|
||||||
entity_id: switch.living_room_outlet
|
|
||||||
- delay: '00:01:00'
|
|
||||||
- service: switch.turn_off
|
|
||||||
entity_id: switch.kitchen_Accents
|
|
||||||
- delay: '00:01:00'
|
|
||||||
- service: switch.turn_off
|
|
||||||
entity_id: switch.den_outlet
|
|
||||||
- delay: '00:01:00'
|
|
||||||
- service: switch.turn_off
|
|
||||||
entity_id: switch.foyer_outlet
|
|
||||||
- delay: '00:01:00'
|
|
||||||
- service: switch.turn_off
|
|
||||||
entity_id: switch.printer_outlet
|
|
||||||
- delay: '00:01:00'
|
|
||||||
- service: switch.turn_off
|
|
||||||
entity_id: switch.garage_outlet
|
|
||||||
- delay: '00:01:00'
|
|
||||||
- service: switch.turn_off
|
|
||||||
entity_id: switch.dining_room_outlet
|
|
||||||
- delay: '00:01:00'
|
|
||||||
- service: switch.turn_off
|
|
||||||
entity_id: switch.living_room_amp
|
|
||||||
- delay: '00:01:00'
|
|
||||||
- service: switch.turn_off
|
|
||||||
entity_id: switch.Outlet_304_4
|
|
||||||
|
|
||||||
- service: switch.turn_off
|
|
||||||
entity_id: switch.living_room_outlet
|
|
||||||
- delay: '00:01:00'
|
|
||||||
- service: switch.turn_off
|
|
||||||
entity_id: switch.kitchen_Accents
|
|
||||||
- delay: '00:01:00'
|
|
||||||
- service: switch.turn_off
|
|
||||||
entity_id: switch.den_outlet
|
|
||||||
- delay: '00:01:00'
|
|
||||||
- service: switch.turn_off
|
|
||||||
entity_id: switch.foyer_outlet
|
|
||||||
- delay: '00:01:00'
|
|
||||||
- service: switch.turn_off
|
|
||||||
entity_id: switch.printer_outlet
|
|
||||||
- delay: '00:01:00'
|
|
||||||
- service: switch.turn_off
|
|
||||||
entity_id: switch.garage_outlet
|
|
||||||
- delay: '00:01:00'
|
|
||||||
- service: switch.turn_off
|
|
||||||
entity_id: switch.dining_room_outlet
|
|
||||||
- delay: '00:01:00'
|
|
||||||
- service: switch.turn_off
|
|
||||||
entity_id: switch.living_room_amp
|
|
||||||
- delay: '00:01:00'
|
|
||||||
- service: switch.turn_off
|
|
||||||
entity_id: switch.Outlet_304_4
|
|
||||||
- delay: '00:01:00'
|
|
||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
entity_id: group.all_switches
|
entity_id: group.all_switches
|
||||||
|
- service: switch.turn_off
|
||||||
|
entity_id: switch.living_room_outlet
|
||||||
|
- delay: '00:01:00'
|
||||||
|
- service: switch.turn_off
|
||||||
|
entity_id: switch.kitchen_Accents
|
||||||
|
- delay: '00:01:00'
|
||||||
|
- service: switch.turn_off
|
||||||
|
entity_id: switch.den_outlet
|
||||||
|
- delay: '00:01:00'
|
||||||
|
- service: switch.turn_off
|
||||||
|
entity_id: switch.foyer_outlet
|
||||||
|
- delay: '00:01:00'
|
||||||
|
- service: switch.turn_off
|
||||||
|
entity_id: switch.printer_outlet
|
||||||
|
- delay: '00:01:00'
|
||||||
|
- service: switch.turn_off
|
||||||
|
entity_id: switch.garage_outlet
|
||||||
|
- delay: '00:01:00'
|
||||||
|
- service: switch.turn_off
|
||||||
|
entity_id: switch.living_room_amp
|
||||||
|
- delay: '00:01:00'
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user