Add delays for Holiday lights and RF.

This commit is contained in:
CCOSTAN
2016-10-20 21:39:40 +00:00
parent 95f0593e95
commit ccb55c7ae9
5 changed files with 19 additions and 9 deletions

View File

@@ -3,6 +3,7 @@
################################### ###################################
- alias: Heal ZWave Nightly - alias: Heal ZWave Nightly
hide_entity: True
trigger: trigger:
platform: time platform: time
after: '2:31:00' after: '2:31:00'

View File

@@ -11,17 +11,24 @@
action: action:
- service: switch.turn_on - service: switch.turn_on
entity_id: group.holiday entity_id: switch.halloween_lights_den
- delay: 00:00:30
- service: switch.turn_on
entity_id: switch.halloween_lights_dining_room
- alias: 'Holiday Stuff off' - alias: 'Holiday Stuff off'
trigger: trigger:
- platform: sun - platform: sun
event: sunrise event: sunrise
offset: '-03:00:00' offset: '-03:30:00'
- platform: event - platform: event
event_type: halloween_lights_off event_type: halloween_lights_off
action: action:
- service: switch.turn_on - service: switch.turn_off
entity_id: group.holiday entity_id: switch.halloween_lights_den
- delay: 00:00:30
- service: switch.turn_off
entity_id: switch.halloween_lights_dining_room

View File

@@ -1,4 +1,5 @@
- alias: ZWave Enerwave Door Sensors Open - alias: ZWave Enerwave Door Sensors Open
hide_entity: True
trigger: trigger:
platform: event platform: event
event_type: zwave.node_event event_type: zwave.node_event
@@ -10,6 +11,7 @@
entity_id: light.office_lamp entity_id: light.office_lamp
- alias: ZWave Enerwave Door Sensors Closed - alias: ZWave Enerwave Door Sensors Closed
hide_entity: True
trigger: trigger:
platform: event platform: event
event_type: zwave.node_event event_type: zwave.node_event

4
group/holiday.yaml Executable file
View File

@@ -0,0 +1,4 @@
Holiday:
entities:
- switch.halloween_lights_den
- switch.halloween_lights_dining_room

View File

@@ -49,7 +49,3 @@ Upstairs:
entities: entities:
- light.upstairs_lamp - light.upstairs_lamp
Holiday:
entities:
- switch.halloween_lights_den
- switch.halloween_lights_dining_room