From 405f6287e425fec73641cea89d1a1e1700e2721f Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Sat, 24 Jul 2021 00:52:11 +0200 Subject: [PATCH] Add automation for HBO button --- .../automations/living-room-button.yaml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/configuration/automations/living-room-button.yaml b/configuration/automations/living-room-button.yaml index 51b28a2..b057ebd 100644 --- a/configuration/automations/living-room-button.yaml +++ b/configuration/automations/living-room-button.yaml @@ -148,6 +148,31 @@ sequence: - service: script.tv_youtube +- id: living-room-button-4 # Middle right + alias: '[Living Room] Button 4' + description: '' + mode: single + trigger: + - device_id: 6f68b487f932c9b73d17ff82cb453617 + domain: zha + platform: device + type: remote_button_alt_short_press + subtype: button_3 + action: + - choose: + - conditions: + - condition: state + entity_id: input_select.home_mode + state: Day + sequence: + - service: script.tv_hbogo + - conditions: + - condition: state + entity_id: input_select.home_mode + state: Night + sequence: + - service: script.tv_hbogo + - id: living-room-button-5 # Bottom left alias: '[Living Room] Button 5' description: ''