Check outdoor lights every 30 minutes after sunrise. #355
This commit is contained in:
parent
2e90a43ba2
commit
2f8606633e
|
@ -25,3 +25,34 @@
|
|||
- service: homeassistant.turn_off
|
||||
data_template:
|
||||
entity_id: "{{ trigger.entity_id }}"
|
||||
|
||||
- alias: Make it Right WatchDog!
|
||||
trigger:
|
||||
- platform: time
|
||||
minutes: 10
|
||||
seconds: 20
|
||||
- platform: time
|
||||
minutes: 40
|
||||
seconds: 00
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: sun.sun
|
||||
state: 'above_horizon'
|
||||
|
||||
#Turn it off!
|
||||
action:
|
||||
- service: homeassistant.turn_off
|
||||
data_template:
|
||||
entity_id:
|
||||
- switch.front_landscaping
|
||||
- switch.back_landscaping
|
||||
- light.outdoor_foyer
|
||||
- light.outdoor_sconce_1
|
||||
- light.outdoor_sconce_2
|
||||
- light.outdoor_sconce_3
|
||||
- light.led_garage_large
|
||||
- light.led_garage_snip
|
||||
- light.led_garage_small
|
||||
- light.led_outdoor_den
|
||||
- light.outdoor_bathroom
|
||||
|
|
Loading…
Reference in New Issue