Remove automation calls for stairwell LED strip due to motion sensor
This commit is contained in:
@ -1836,10 +1836,6 @@
|
|||||||
target:
|
target:
|
||||||
entity_id: light.first_floor_lights
|
entity_id: light.first_floor_lights
|
||||||
data: {}
|
data: {}
|
||||||
- service: script.stairwell_led_strip
|
|
||||||
data:
|
|
||||||
color_temp_kelvin: 2000
|
|
||||||
brightness: 255
|
|
||||||
- service: input_select.select_option
|
- service: input_select.select_option
|
||||||
target:
|
target:
|
||||||
entity_id:
|
entity_id:
|
||||||
@ -1879,22 +1875,6 @@
|
|||||||
- light.downstairs_bathroom_lights
|
- light.downstairs_bathroom_lights
|
||||||
- light.dining_room_lamp
|
- light.dining_room_lamp
|
||||||
data: {}
|
data: {}
|
||||||
- service: script.stairwell_led_strip
|
|
||||||
data:
|
|
||||||
color_temp_kelvin: 2000
|
|
||||||
brightness: '{{ 50 if is_state(''binary_sensor.early_night_mode'',''on'')
|
|
||||||
else 255 }}'
|
|
||||||
- delay:
|
|
||||||
seconds: 5
|
|
||||||
- if:
|
|
||||||
- condition: state
|
|
||||||
entity_id: binary_sensor.early_night_mode
|
|
||||||
state: 'off'
|
|
||||||
then:
|
|
||||||
- service: light.turn_off
|
|
||||||
target:
|
|
||||||
entity_id: light.stairwell_led_strip
|
|
||||||
data: {}
|
|
||||||
mode: restart
|
mode: restart
|
||||||
- id: '1696286192013'
|
- id: '1696286192013'
|
||||||
alias: Tina Desk Lights Handler
|
alias: Tina Desk Lights Handler
|
||||||
|
@ -989,9 +989,6 @@ script:
|
|||||||
- input_select.upstairs_hallway_scenes
|
- input_select.upstairs_hallway_scenes
|
||||||
data:
|
data:
|
||||||
option: Adaptive
|
option: Adaptive
|
||||||
- service: script.stairwell_led_strip
|
|
||||||
data:
|
|
||||||
brightness: 255
|
|
||||||
- service: adaptive_lighting.set_manual_control
|
- service: adaptive_lighting.set_manual_control
|
||||||
data:
|
data:
|
||||||
manual_control: false
|
manual_control: false
|
||||||
|
28
scripts.yaml
28
scripts.yaml
@ -267,10 +267,6 @@ going_upstairs:
|
|||||||
- input_select.upstairs_hallway_scenes
|
- input_select.upstairs_hallway_scenes
|
||||||
- input_select.living_room_scenes
|
- input_select.living_room_scenes
|
||||||
alias: Set scenes
|
alias: Set scenes
|
||||||
- service: script.stairwell_led_strip
|
|
||||||
data:
|
|
||||||
brightness: 255
|
|
||||||
alias: Turn up the stairwell LED strip
|
|
||||||
- service: input_boolean.turn_on
|
- service: input_boolean.turn_on
|
||||||
entity_id: input_boolean.night_mode
|
entity_id: input_boolean.night_mode
|
||||||
alias: Turn on Night Mode
|
alias: Turn on Night Mode
|
||||||
@ -1048,15 +1044,6 @@ adaptive_on_first_floor:
|
|||||||
adaptive_on_second_floor:
|
adaptive_on_second_floor:
|
||||||
alias: Adaptive on Second Floor
|
alias: Adaptive on Second Floor
|
||||||
sequence:
|
sequence:
|
||||||
- if:
|
|
||||||
- condition: state
|
|
||||||
entity_id: binary_sensor.early_night_mode
|
|
||||||
state: 'on'
|
|
||||||
then:
|
|
||||||
- service: script.stairwell_led_strip
|
|
||||||
data:
|
|
||||||
brightness: reset
|
|
||||||
alias: If early night mode is on
|
|
||||||
- if:
|
- if:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: light.hallway_overhead
|
entity_id: light.hallway_overhead
|
||||||
@ -1249,9 +1236,6 @@ bright_on_first_floor:
|
|||||||
bright_on_second_floor:
|
bright_on_second_floor:
|
||||||
alias: Bright on Second Floor
|
alias: Bright on Second Floor
|
||||||
sequence:
|
sequence:
|
||||||
- service: script.stairwell_led_strip
|
|
||||||
data:
|
|
||||||
brightness: 255
|
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
target:
|
target:
|
||||||
entity_id:
|
entity_id:
|
||||||
@ -1480,10 +1464,6 @@ evening_on_second_floor:
|
|||||||
entity_id: input_boolean.give_me_darkness
|
entity_id: input_boolean.give_me_darkness
|
||||||
state: 'on'
|
state: 'on'
|
||||||
sequence:
|
sequence:
|
||||||
- service: script.stairwell_led_strip
|
|
||||||
data:
|
|
||||||
color_temp_kelvin: 2000
|
|
||||||
brightness: 100
|
|
||||||
- service: input_select.select_option
|
- service: input_select.select_option
|
||||||
target:
|
target:
|
||||||
entity_id:
|
entity_id:
|
||||||
@ -1537,10 +1517,6 @@ evening_on_second_floor:
|
|||||||
entity_id: input_boolean.give_me_darkness
|
entity_id: input_boolean.give_me_darkness
|
||||||
state: 'off'
|
state: 'off'
|
||||||
sequence:
|
sequence:
|
||||||
- service: script.stairwell_led_strip
|
|
||||||
data:
|
|
||||||
color_temp_kelvin: 2000
|
|
||||||
brightness: 150
|
|
||||||
- service: input_select.select_option
|
- service: input_select.select_option
|
||||||
target:
|
target:
|
||||||
entity_id: input_select.upstairs_hallway_scenes
|
entity_id: input_select.upstairs_hallway_scenes
|
||||||
@ -1679,10 +1655,6 @@ goodnight_on_second_floor:
|
|||||||
entity_id: input_select.upstairs_bathroom_scenes
|
entity_id: input_select.upstairs_bathroom_scenes
|
||||||
data:
|
data:
|
||||||
option: Single Nightlight
|
option: Single Nightlight
|
||||||
- service: script.stairwell_led_strip
|
|
||||||
data:
|
|
||||||
color_temp_kelvin: 2000
|
|
||||||
brightness: 50
|
|
||||||
morning_scene:
|
morning_scene:
|
||||||
alias: Morning Scene
|
alias: Morning Scene
|
||||||
sequence:
|
sequence:
|
||||||
|
Reference in New Issue
Block a user