1
0

Change second computer button to table

This commit is contained in:
Przemek Grondek 2021-07-15 22:10:55 +02:00
parent fa69108d27
commit 35afafb394

View File

@ -1,5 +1,5 @@
- id: button-computer-cave-tv-lights - id: button-computer-cave-living-room-table
alias: '[Computer Cave] Button On' alias: '[Computer Cave] Living Room Table'
trigger: trigger:
- device_id: 5b972523e427721ec88e095994f7cc16 - device_id: 5b972523e427721ec88e095994f7cc16
domain: zha domain: zha
@ -10,14 +10,14 @@
- choose: - choose:
- conditions: - conditions:
- condition: state - condition: state
entity_id: light.tv_lights entity_id: light.table_lamp
state: 'on' state: 'on'
sequence: sequence:
- service: light.turn_off - service: light.turn_off
entity_id: light.tv_lights entity_id: light.table_lamp
- conditions: - conditions:
- condition: state - condition: state
entity_id: light.tv_lights entity_id: light.table_lamp
state: 'off' state: 'off'
sequence: sequence:
- choose: - choose:
@ -27,7 +27,7 @@
state: 'on' state: 'on'
sequence: sequence:
- service: light.turn_on - service: light.turn_on
entity_id: light.tv_lights entity_id: light.table_lamp
data: data:
brightness_pct: 100 brightness_pct: 100
kelvin: 2000 kelvin: 2000
@ -37,7 +37,7 @@
state: 'off' state: 'off'
sequence: sequence:
- service: light.turn_on - service: light.turn_on
entity_id: light.tv_lights entity_id: light.table_lamp
data: data:
brightness_pct: 100 brightness_pct: 100
kelvin: 3200 kelvin: 3200