Add some more Flash to the house before meetings

This commit is contained in:
CCOSTAN 2016-12-21 21:14:06 +00:00
parent 91176a1eea
commit 6936d92338
2 changed files with 93 additions and 56 deletions

View File

@ -1,3 +1,39 @@
###################################
## Early Christmas tree Light on
###################################
- alias: 'Early Christmas tree Light on'
trigger:
- platform: numeric_state
entity_id: sun.sun
value_template: '{{ state.attributes.elevation }}'
below: 20.0
- platform: numeric_state
entity_id: sensor.dark_sky_cloud_coverage
above: 80
condition:
- condition: numeric_state
entity_id: sun.sun
value_template: '{{ state.attributes.elevation }}'
below: 20.0
- condition: numeric_state
entity_id: sensor.dark_sky_cloud_coverage
above: 80
action:
- service: light.turn_on
entity_id:
- light.tv_light
- light.tv_stand_light
data:
transition: 1200
- service: switch.turn_on
entity_id:
- switch.living_room_outlet
###################################
## Sunrise and Sunset stuff
###################################

View File

@ -12,6 +12,7 @@ flash_notify:
- group.outdoor_pool_lights
- light.master_toilet
- light.office_lamp
- light.outdoor_foyer
data:
flash: long