Turn on
This commit is contained in:
@@ -6,12 +6,21 @@
|
||||
|
||||
- alias: 'Sunset Stuff on'
|
||||
trigger:
|
||||
- platform: sun
|
||||
event: sunset
|
||||
platform: state
|
||||
entity_id: binary_sensor.stue_motion_sensor
|
||||
to: 'on'
|
||||
|
||||
# - platform: sun
|
||||
# event: sunset
|
||||
# offset: "-00:20:00"
|
||||
condition:
|
||||
- condition: time
|
||||
after: '15:00:00'
|
||||
before: '22:00:00'
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.forgang_sensor_illuminance
|
||||
below: 50
|
||||
|
||||
action:
|
||||
# - delay: '00:{{ (range(1, 20)|random|int) }}:00'
|
||||
- service: script.monthly_color_scene
|
||||
|
||||
Reference in New Issue
Block a user