1
0

Update automations to two bedroom lamps

This commit is contained in:
Przemek Grondek 2021-12-12 23:45:21 +01:00
parent 719ee9e6ac
commit 1f9cf20d9d
3 changed files with 12 additions and 12 deletions

View File

@ -25,7 +25,7 @@
kelvin: 5300 kelvin: 5300
transition: 1800 transition: 1800
brightness: 255 brightness: 255
entity_id: light.bed_lamp entity_id: light.bed_lamps
- service: light.turn_on - service: light.turn_on
data: data:
kelvin: 5300 kelvin: 5300

View File

@ -22,7 +22,7 @@ good_night:
- light.bathroom_minor_lights - light.bathroom_minor_lights
- light.bedroom_lights - light.bedroom_lights
- light.bed_lightstrip - light.bed_lightstrip
- light.bed_lamp - light.bed_lamps
- light.hallway_light - light.hallway_light
- light.hallway_lightstrip - light.hallway_lightstrip
- light.computer_computer_cave_background - light.computer_computer_cave_background
@ -100,7 +100,7 @@ leave_home:
- light.bathroom_minor_lights - light.bathroom_minor_lights
- light.bedroom_lights - light.bedroom_lights
- light.bed_lightstrip - light.bed_lightstrip
- light.bed_lamp - light.bed_lamps
- light.hallway_light - light.hallway_light
- light.hallway_lightstrip - light.hallway_lightstrip
- light.computer_computer_cave_background - light.computer_computer_cave_background

View File

@ -54,27 +54,27 @@ bedroom_all_lights_off:
- service: light.turn_off - service: light.turn_off
entity_id: light.bed_lightstrip entity_id: light.bed_lightstrip
- service: light.turn_off - service: light.turn_off
entity_id: light.bed_lamp entity_id: light.bed_lamps
bedroom_bed_lamp_toggle: bedroom_bed_lamp_toggle:
alias: '[Bedroom] Bed lamp toggle' alias: '[Bedroom] Bed lamps toggle'
sequence: sequence:
- choose: - choose:
- conditions: - conditions:
- condition: state - condition: state
entity_id: light.bed_lamp entity_id: light.bed_lamps
state: 'on' state: 'on'
sequence: sequence:
- service: script.bedroom_bed_lamp_off - service: script.bedroom_bed_lamp_off
- conditions: - conditions:
- condition: state - condition: state
entity_id: light.bed_lamp entity_id: light.bed_lamps
state: 'off' state: 'off'
sequence: sequence:
- service: script.bedroom_bed_lamp_on - service: script.bedroom_bed_lamp_on
bedroom_bed_lamp_on: bedroom_bed_lamp_on:
alias: '[Bedroom] Bed lamp on' alias: '[Bedroom] Bed lamps on'
sequence: sequence:
- choose: - choose:
- conditions: - conditions:
@ -83,19 +83,19 @@ bedroom_bed_lamp_on:
state: Night state: Night
sequence: sequence:
- service: light.turn_on - service: light.turn_on
entity_id: light.bed_lamp entity_id: light.bed_lamps
data: data:
brightness_pct: 10 brightness_pct: 10
kelvin: 2000 kelvin: 2000
default: default:
- service: light.turn_on - service: light.turn_on
entity_id: light.bed_lamp entity_id: light.bed_lamps
data: data:
brightness_pct: 30 brightness_pct: 30
kelvin: 3200 kelvin: 3200
bedroom_bed_lamp_off: bedroom_bed_lamp_off:
alias: '[Bedroom] Bed lamp off' alias: '[Bedroom] Bed lamps off'
sequence: sequence:
- service: light.turn_off - service: light.turn_off
entity_id: light.bed_lamp entity_id: light.bed_lamps