Add automation for HBO button
This commit is contained in:
parent
dfc0570558
commit
405f6287e4
@ -148,6 +148,31 @@
|
|||||||
sequence:
|
sequence:
|
||||||
- service: script.tv_youtube
|
- 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
|
- id: living-room-button-5 # Bottom left
|
||||||
alias: '[Living Room] Button 5'
|
alias: '[Living Room] Button 5'
|
||||||
description: ''
|
description: ''
|
||||||
|
Loading…
Reference in New Issue
Block a user