1
0

Remove desk lightbar

This commit is contained in:
Przemek Grondek 2022-04-20 00:15:03 +02:00
parent 579a135761
commit 539a4683db
3 changed files with 2 additions and 46 deletions

View File

@ -51,44 +51,5 @@
platform: device
type: remote_button_short_press
subtype: turn_off
action:
- service: light.turn_off
data:
entity_id: light.desk_lightbar
- choose:
- conditions:
- condition: state
entity_id: light.desk_lightbar
state: 'on'
sequence:
- service: light.turn_off
entity_id: light.desk_lightbar
- service: light.turn_off
entity_id: light.desk_lightbar_ambilight
- conditions:
- condition: state
entity_id: light.desk_lightbar
state: 'off'
sequence:
- choose:
- conditions:
- condition: state
entity_id: input_boolean.sleep_mode
state: 'on'
sequence:
- service: light.turn_on
entity_id: light.desk_lightbar
data:
brightness_pct: 100
kelvin: 2000
- conditions:
- condition: state
entity_id: input_boolean.sleep_mode
state: 'off'
sequence:
- service: light.turn_on
entity_id: light.desk_lightbar
data:
brightness_pct: 100
kelvin: 3200
action: []
mode: single

View File

@ -10,6 +10,5 @@
action:
- service: light.turn_off
entity_id:
- light.desk_lightbar
- light.desk_lightbar_ambilight
- light.office
mode: single

View File

@ -9,8 +9,6 @@ good_night:
entity_id: input_select.home_mode
- service: light.turn_off
entity_id:
- light.desk_lightbar
- light.desk_lightbar_ambilight
- light.couch_lights
- light.tv_lights
- light.office
@ -88,8 +86,6 @@ leave_home:
entity_id: input_select.home_mode
- service: light.turn_off
entity_id:
- light.desk_lightbar
- light.desk_lightbar_ambilight
- light.couch_lights
- light.tv_lights
- light.office