2021-11-12 01:56:26 +00:00
|
|
|
bedroom_lights_toggle:
|
|
|
|
alias: '[Bedroom] Lights toggle'
|
|
|
|
sequence:
|
|
|
|
- choose:
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: light.bedroom_lights
|
|
|
|
state: 'on'
|
|
|
|
sequence:
|
|
|
|
- service: script.bedroom_lights_off
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: light.bedroom_lights
|
|
|
|
state: 'off'
|
|
|
|
sequence:
|
|
|
|
- service: script.bedroom_lights_on
|
|
|
|
|
|
|
|
bedroom_lights_on:
|
|
|
|
alias: '[Bedroom] Lights on'
|
|
|
|
sequence:
|
|
|
|
- choose:
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.sleep_mode
|
|
|
|
state: 'on'
|
|
|
|
sequence:
|
|
|
|
- service: light.turn_on
|
|
|
|
entity_id: light.bedroom_lights
|
|
|
|
data:
|
|
|
|
brightness_pct: 60
|
|
|
|
kelvin: 2000
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.sleep_mode
|
|
|
|
state: 'off'
|
|
|
|
sequence:
|
|
|
|
- service: light.turn_on
|
|
|
|
entity_id: light.bedroom_lights
|
|
|
|
data:
|
|
|
|
brightness_pct: 60
|
|
|
|
kelvin: 3200
|
|
|
|
|
|
|
|
bedroom_lights_off:
|
|
|
|
alias: '[Bedroom] Lights off'
|
|
|
|
sequence:
|
|
|
|
- service: light.turn_off
|
|
|
|
entity_id: light.bedroom_lights
|
|
|
|
|
|
|
|
bedroom_all_lights_off:
|
|
|
|
alias: '[Bedroom] All lights off'
|
|
|
|
sequence:
|
|
|
|
- service: light.turn_off
|
2023-09-13 17:51:41 +00:00
|
|
|
entity_id:
|
|
|
|
- light.bedroom_lights
|
|
|
|
- light.bed_lightstrip
|
|
|
|
- light.bed_lamps
|
2021-11-12 01:56:26 +00:00
|
|
|
|
|
|
|
bedroom_bed_lamp_toggle:
|
2021-12-12 22:45:21 +00:00
|
|
|
alias: '[Bedroom] Bed lamps toggle'
|
2021-11-12 01:56:26 +00:00
|
|
|
sequence:
|
|
|
|
- choose:
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
2021-12-12 22:45:21 +00:00
|
|
|
entity_id: light.bed_lamps
|
2021-11-12 01:56:26 +00:00
|
|
|
state: 'on'
|
|
|
|
sequence:
|
|
|
|
- service: script.bedroom_bed_lamp_off
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
2021-12-12 22:45:21 +00:00
|
|
|
entity_id: light.bed_lamps
|
2021-11-12 01:56:26 +00:00
|
|
|
state: 'off'
|
|
|
|
sequence:
|
|
|
|
- service: script.bedroom_bed_lamp_on
|
|
|
|
|
|
|
|
bedroom_bed_lamp_on:
|
2021-12-12 22:45:21 +00:00
|
|
|
alias: '[Bedroom] Bed lamps on'
|
2021-11-12 01:56:26 +00:00
|
|
|
sequence:
|
|
|
|
- choose:
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_select.home_mode
|
|
|
|
state: Night
|
|
|
|
sequence:
|
|
|
|
- service: light.turn_on
|
2021-12-12 22:45:21 +00:00
|
|
|
entity_id: light.bed_lamps
|
2021-11-12 01:56:26 +00:00
|
|
|
data:
|
|
|
|
brightness_pct: 10
|
|
|
|
kelvin: 2000
|
|
|
|
default:
|
|
|
|
- service: light.turn_on
|
2021-12-12 22:45:21 +00:00
|
|
|
entity_id: light.bed_lamps
|
2021-11-12 01:56:26 +00:00
|
|
|
data:
|
|
|
|
brightness_pct: 30
|
|
|
|
kelvin: 3200
|
|
|
|
|
2022-08-06 21:41:47 +00:00
|
|
|
bedroom_tv_scene:
|
|
|
|
alias: '[Bedroom] TV Scene'
|
|
|
|
sequence:
|
|
|
|
- service: light.turn_on
|
|
|
|
entity_id: light.bed_lamps
|
|
|
|
data:
|
|
|
|
brightness_pct: 10
|
|
|
|
kelvin: 2000
|
|
|
|
- service: light.turn_off
|
|
|
|
entity_id: light.bedroom_lights
|
|
|
|
- service: light.turn_off
|
|
|
|
entity_id: light.bed_lightstrip
|
2022-08-07 21:55:25 +00:00
|
|
|
- service: cover.close_cover
|
|
|
|
entity_id: cover.bedroom_blinds
|
|
|
|
|
|
|
|
bedroom_tv_off_scene:
|
|
|
|
alias: '[Bedroom] TV Off scene'
|
|
|
|
sequence:
|
|
|
|
- choose:
|
|
|
|
- conditions:
|
|
|
|
- condition: numeric_state
|
|
|
|
entity_id: sensor.office_illuminance
|
|
|
|
above: '30'
|
|
|
|
sequence:
|
|
|
|
- service: cover.open_cover
|
2022-09-02 19:09:56 +00:00
|
|
|
entity_id: cover.bedroom_blinds
|
2022-08-07 21:55:25 +00:00
|
|
|
- conditions:
|
|
|
|
- condition: numeric_state
|
|
|
|
entity_id: sensor.office_illuminance
|
|
|
|
below: '31'
|
|
|
|
sequence:
|
|
|
|
- service: light.turn_on
|
|
|
|
entity_id: light.bed_lamps
|
|
|
|
data:
|
|
|
|
transition: 60
|
|
|
|
brightness_pct: 100
|
|
|
|
kelvin: 2000
|
2022-08-06 21:41:47 +00:00
|
|
|
|
2021-11-12 01:56:26 +00:00
|
|
|
bedroom_bed_lamp_off:
|
2021-12-12 22:45:21 +00:00
|
|
|
alias: '[Bedroom] Bed lamps off'
|
2021-11-12 01:56:26 +00:00
|
|
|
sequence:
|
2021-12-09 23:25:28 +00:00
|
|
|
- service: light.turn_off
|
2021-12-12 22:45:21 +00:00
|
|
|
entity_id: light.bed_lamps
|