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