2022-08-04 22:09:51 +00:00
|
|
|
kitchen_lights_toggle:
|
|
|
|
alias: '[Kitchen] Lights toggle'
|
|
|
|
sequence:
|
|
|
|
- choose:
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: light.kitchen_lights
|
|
|
|
state: 'on'
|
|
|
|
sequence:
|
|
|
|
- service: script.kitchen_lights_off
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: light.kitchen_lights
|
|
|
|
state: 'off'
|
|
|
|
sequence:
|
|
|
|
- service: script.kitchen_lights_on
|
|
|
|
|
|
|
|
kitchen_lights_on:
|
|
|
|
alias: '[Kitchen] Lights on'
|
|
|
|
sequence:
|
|
|
|
- choose:
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_select.home_mode
|
|
|
|
state: Day
|
|
|
|
sequence:
|
|
|
|
- choose:
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.sleep_mode
|
|
|
|
state: 'on'
|
|
|
|
sequence:
|
|
|
|
- service: light.turn_on
|
|
|
|
entity_id: light.kitchen_lights
|
|
|
|
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.kitchen_lights
|
|
|
|
data:
|
|
|
|
brightness_pct: 100
|
|
|
|
kelvin: 3200
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_select.home_mode
|
|
|
|
state: Night
|
|
|
|
sequence:
|
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
2023-12-15 23:59:15 +00:00
|
|
|
brightness_pct: 20
|
2022-08-04 22:19:04 +00:00
|
|
|
hs_color:
|
|
|
|
- 360
|
|
|
|
- 100
|
|
|
|
target:
|
|
|
|
entity_id: light.kitchen_color_lights
|
2022-08-04 22:09:51 +00:00
|
|
|
|
|
|
|
kitchen_lights_off:
|
|
|
|
alias: '[Kitchen] Lights off'
|
|
|
|
sequence:
|
|
|
|
- service: light.turn_off
|
|
|
|
entity_id:
|
|
|
|
- light.kitchen_lights
|
|
|
|
- light.kitchen_sink_lighstrip
|
2023-12-15 23:59:15 +00:00
|
|
|
- switch.kitchen_big_light_switch
|