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