Moving stuff around. Changing sunrise and sunset type automations.

This commit is contained in:
CCOSTAN
2017-01-20 19:42:12 +00:00
parent a421ccaeb5
commit d068bedf36
7 changed files with 22 additions and 21 deletions

View File

@@ -11,9 +11,6 @@
state: 'Offline'
condition:
- condition: state
entity_id: group.family
state: home
- condition: time
after: '20:00:00'
- condition: state

View File

@@ -8,10 +8,9 @@
event: sunset
action:
- service: script.monthly_front_house_scene
- service: script.holiday_switches_on
- delay: '00:{{ (range(1, 59)|random|int) }}:00'
- service: switch.turn_on
entity_id:
- switch.front_door_outlet
- service: light.turn_on
entity_id:
- light.outdoor_bathroom
@@ -19,14 +18,16 @@
- light.tv_stand_light
data:
transition: 1200
- service: script.holiday_switches_on
- delay: '00:{{ (range(1, 59)|random|int) }}:00'
- service: script.monthly_front_house_scene
######################################################################
- alias: 'Sunset Stuff off'
trigger:
- platform: sun
event: sunrise
# offset: '-0{{ (range(1, 3)|random|int) }}:{{ (range(1, 59)|random|int) }}:00'
offset: '-01:00:00'
action:
- service: light.turn_off