mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-17 10:57:03 +00:00
Add some RANDOM to the house.
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
######################################################################################################
|
||||
###Script to shut switches with a 30 second delay to not trample codes
|
||||
### connected to [Etekcity Outlets](http://amzn.to/2efNoBP)
|
||||
## [433Mhz Transmitter and receiver](http://amzn.to/2dceNY2)
|
||||
### Sample Call
|
||||
# action:
|
||||
# - service: script.holiday_switches_on
|
||||
######################################################################################################
|
||||
|
||||
holiday_switches_on:
|
||||
sequence:
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.living_room_outlet
|
||||
- delay: 00:00:30
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.foyer_outlet
|
||||
- delay: 00:00:30
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.front_door_outlet
|
||||
|
||||
- condition: sun
|
||||
after: sunset
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.den_outlet
|
||||
- delay: 00:00:30
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.dining_room_outlet
|
||||
|
@@ -29,7 +29,7 @@ monthly_color_scene:
|
||||
- service: scene.turn_on
|
||||
data_template:
|
||||
entity_id: >
|
||||
"scene.month_
|
||||
scene.month_
|
||||
{%- if now().strftime("%m%d")|int == 101 -%}
|
||||
new_years_day
|
||||
{%- elif now().strftime("%m%d")|int == 212
|
||||
@@ -53,7 +53,7 @@ monthly_color_scene:
|
||||
st_patty
|
||||
{%- else -%}
|
||||
standard
|
||||
{%- endif -%}_colors"
|
||||
{%- endif -%}_colors
|
||||
|
||||
|
||||
# http://www.calendar-365.com/holidays/2017.html
|
||||
|
@@ -48,9 +48,9 @@ voice_notify:
|
||||
{% if now().strftime("%H")|int < 12 %}
|
||||
0.20
|
||||
{% elif now().strftime("%H")|int < 18 %}
|
||||
0.70
|
||||
0.50
|
||||
{% else %}
|
||||
0.40
|
||||
0.25
|
||||
{% endif %}
|
||||
|
||||
- service: tts.google_say
|
||||
|
Reference in New Issue
Block a user