Add some RANDOM to the house.

This commit is contained in:
CCOSTAN
2017-02-07 03:50:25 +00:00
parent fa93b548b4
commit 96ef81ba8d
5 changed files with 17 additions and 66 deletions

View File

@@ -13,16 +13,24 @@
- service: switch.turn_on
entity_id:
- switch.front_door_outlet
- switch.living_room_outlet
- switch.den_outlet
- switch.foyer_outlet
- service: light.turn_on
entity_id:
- light.outdoor_bathroom
- group.living_room_accents
- service: script.holiday_switches_on
- delay: '00:{{ (range(1, 30)|random|int) }}:00'
- delay: '00:{{ (range(1, 20)|random|int) }}:00'
- service: script.monthly_color_scene
- service: script.Voice_notify
data:
value1: 'Sunset has occurred. I will turn on the outside lights now.'
data_template:
value1: >
{{ [
"It is pretty dark outside. I will turn on the outside lights now.",
"It's a little past Sunset. Time to turn on the outside lights. I'm on it.",
"I'll switch on the outside lights. It's getting dark outside.",
"Time to turn on the front lights. I'll take care of it."
] | random }}
######################################################################
- alias: 'Sunset Stuff off'
@@ -35,7 +43,7 @@
- service: light.turn_off
entity_id:
- group.all_lights
- light.outfoor_front
- light.outdoor_front
- group.outdoor_lights
- service: script.interior_off