From 35afafb39448f6d0df037d1b2e11471692b0163d Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Thu, 15 Jul 2021 22:10:55 +0200 Subject: [PATCH] Change second computer button to table --- configuration/automations/computer-button.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/configuration/automations/computer-button.yaml b/configuration/automations/computer-button.yaml index 6986caf..68e90a7 100644 --- a/configuration/automations/computer-button.yaml +++ b/configuration/automations/computer-button.yaml @@ -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