Basic handling of the new stairwell LED strip

This commit is contained in:
2023-08-01 00:35:44 -04:00
parent 02991d9837
commit fbfbecfeac
3 changed files with 69 additions and 7 deletions

View File

@ -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