Basic handling of the new stairwell LED strip
This commit is contained in:
@ -198,6 +198,17 @@ automation:
|
||||
- condition: state
|
||||
entity_id: input_boolean.kallen_school_today
|
||||
state: 'on'
|
||||
- if:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.early_night_mode
|
||||
state: 'on'
|
||||
then:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.stairwell_led_strip
|
||||
data:
|
||||
color_temp_kelvin: 2000
|
||||
brightness: 150
|
||||
- service: script.security_disarm
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
@ -279,9 +290,20 @@ automation:
|
||||
entity_id: alarm_control_panel.stratton_ave_alarm
|
||||
state: disarmed
|
||||
- condition: time
|
||||
after: '04:30'
|
||||
after: '04:15'
|
||||
before: '13:30'
|
||||
then:
|
||||
- if:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.early_night_mode
|
||||
state: 'on'
|
||||
then:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.stairwell_led_strip
|
||||
data:
|
||||
color_temp_kelvin: 2000
|
||||
brightness: 50
|
||||
- service: script.security_arm_home
|
||||
|
||||
- id: c7927c59-e0fe-48b9-b308-dd90fb774920
|
||||
@ -331,6 +353,7 @@ automation:
|
||||
- light.tina_lamp_side
|
||||
- light.tina_lamp_top
|
||||
- light.tina_desk_strip
|
||||
- light.stairwell_led_strip
|
||||
- delay:
|
||||
seconds: 1
|
||||
- service: switch.turn_off
|
||||
@ -344,6 +367,7 @@ automation:
|
||||
- light.living_room_lights
|
||||
- light.tina_lamp
|
||||
- light.tina_desk_strip
|
||||
- light.stairwell_led_strip
|
||||
data:
|
||||
color_name: red
|
||||
brightness_pct: 100
|
||||
|
Reference in New Issue
Block a user