Let there be light... On rainy days.

This commit is contained in:
CCOSTAN
2016-12-21 22:01:37 +00:00
parent 4789e31bad
commit 450c54adf7
2 changed files with 23 additions and 1 deletions

View File

@@ -42,4 +42,25 @@
entity_id:
- switch.living_room_outlet
######################################################################
######################################################################
######################################################################
## Dark House Little extra light - RAIN is over.
######################################################################
- alias: 'Rain is over'
trigger:
- platform: numeric_state
entity_id: sensor.dark_sky_precip_intensity
below: 1
action:
- service: light.turn_off
entity_id:
- light.tv_light
- light.tv_stand_light
data:
transition: 1200
- service: switch.turn_off
entity_id:
- switch.living_room_outlet