2021-07-19 21:25:20 +00:00
|
|
|
# Living Room button
|
|
|
|
- id: living-room-button-1 # Upper Left
|
2022-04-09 12:13:16 +00:00
|
|
|
alias: '[Living Room] Button 1 - Office Light'
|
2021-07-19 21:25:20 +00:00
|
|
|
description: ''
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- device_id: 6f68b487f932c9b73d17ff82cb453617
|
|
|
|
domain: zha
|
|
|
|
platform: device
|
|
|
|
type: remote_button_alt_short_press
|
|
|
|
subtype: button_1
|
|
|
|
action:
|
2022-04-09 12:29:26 +00:00
|
|
|
- service: script.table_lights_toggle
|
2021-07-19 21:25:20 +00:00
|
|
|
|
|
|
|
- id: living-room-button-2 # Upper right
|
2022-04-09 12:13:16 +00:00
|
|
|
alias: '[Living Room] Button 2 - Couch Light'
|
2021-07-19 21:25:20 +00:00
|
|
|
description: ''
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- device_id: 6f68b487f932c9b73d17ff82cb453617
|
|
|
|
domain: zha
|
|
|
|
platform: device
|
|
|
|
type: remote_button_alt_short_press
|
|
|
|
subtype: button_2
|
|
|
|
action:
|
2023-04-22 18:03:39 +00:00
|
|
|
- service: script.living_room_lights_toggle
|
2021-07-19 21:25:20 +00:00
|
|
|
|
|
|
|
- id: living-room-button-3 # Middle left
|
2022-04-09 12:13:16 +00:00
|
|
|
alias: '[Living Room] Button 3 - AndroidTV'
|
2021-07-19 21:25:20 +00:00
|
|
|
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:
|
2022-04-09 12:13:16 +00:00
|
|
|
- service: script.tv_atv
|
2021-07-19 21:25:20 +00:00
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_select.home_mode
|
|
|
|
state: Night
|
|
|
|
sequence:
|
2022-04-09 12:13:16 +00:00
|
|
|
- service: script.tv_atv
|
2021-07-19 21:25:20 +00:00
|
|
|
|
2021-07-23 22:52:11 +00:00
|
|
|
- id: living-room-button-4 # Middle right
|
2022-04-09 12:13:16 +00:00
|
|
|
alias: '[Living Room] Button 4 - Xbox'
|
2021-07-23 22:52:11 +00:00
|
|
|
description: ''
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- device_id: 6f68b487f932c9b73d17ff82cb453617
|
|
|
|
domain: zha
|
|
|
|
platform: device
|
|
|
|
type: remote_button_alt_short_press
|
2021-09-13 23:08:00 +00:00
|
|
|
subtype: button_4
|
2021-07-23 22:52:11 +00:00
|
|
|
action:
|
|
|
|
- choose:
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_select.home_mode
|
|
|
|
state: Day
|
|
|
|
sequence:
|
2022-04-18 21:36:00 +00:00
|
|
|
- service: script.tv_xbox
|
2021-07-23 22:52:11 +00:00
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_select.home_mode
|
|
|
|
state: Night
|
|
|
|
sequence:
|
2022-04-18 21:36:00 +00:00
|
|
|
- service: script.tv_xbox
|
2021-07-23 22:52:11 +00:00
|
|
|
|
2021-07-19 21:25:20 +00:00
|
|
|
- id: living-room-button-5 # Bottom left
|
2022-04-09 12:13:16 +00:00
|
|
|
alias: '[Living Room] Button 5 - Nintendo Swithc'
|
2021-07-19 21:25:20 +00:00
|
|
|
description: ''
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- device_id: 6f68b487f932c9b73d17ff82cb453617
|
|
|
|
domain: zha
|
|
|
|
platform: device
|
|
|
|
type: remote_button_alt_short_press
|
|
|
|
subtype: button_5
|
|
|
|
action:
|
|
|
|
- choose:
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_select.home_mode
|
|
|
|
state: Day
|
|
|
|
sequence:
|
|
|
|
- service: script.tv_nintendo_switch
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_select.home_mode
|
|
|
|
state: Night
|
|
|
|
sequence:
|
|
|
|
- service: script.tv_nintendo_switch
|
|
|
|
|
|
|
|
- id: living-room-button-6 # Bottom right
|
2022-04-09 12:13:16 +00:00
|
|
|
alias: '[Living Room] Button 6 - Playstation4'
|
2021-07-19 21:25:20 +00:00
|
|
|
description: ''
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- device_id: 6f68b487f932c9b73d17ff82cb453617
|
|
|
|
domain: zha
|
|
|
|
platform: device
|
|
|
|
type: remote_button_alt_short_press
|
|
|
|
subtype: button_6
|
|
|
|
action:
|
|
|
|
- choose:
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_select.home_mode
|
|
|
|
state: Day
|
|
|
|
sequence:
|
|
|
|
- service: script.tv_ps4
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_select.home_mode
|
|
|
|
state: Night
|
|
|
|
sequence:
|
|
|
|
- service: script.tv_ps4
|
2021-07-23 22:44:54 +00:00
|
|
|
|
|
|
|
- id: living-room-tv-off
|
|
|
|
alias: '[Living Room] Turn TV Off'
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- device_id: 6f68b487f932c9b73d17ff82cb453617
|
|
|
|
domain: zha
|
|
|
|
platform: device
|
|
|
|
type: remote_button_alt_double_press
|
|
|
|
subtype: button_3
|
|
|
|
- device_id: 6f68b487f932c9b73d17ff82cb453617
|
|
|
|
domain: zha
|
|
|
|
platform: device
|
|
|
|
type: remote_button_alt_double_press
|
|
|
|
subtype: button_4
|
|
|
|
- device_id: 6f68b487f932c9b73d17ff82cb453617
|
|
|
|
domain: zha
|
|
|
|
platform: device
|
|
|
|
type: remote_button_alt_double_press
|
|
|
|
subtype: button_5
|
|
|
|
- device_id: 6f68b487f932c9b73d17ff82cb453617
|
|
|
|
domain: zha
|
|
|
|
platform: device
|
|
|
|
type: remote_button_alt_double_press
|
|
|
|
subtype: button_6
|
|
|
|
action:
|
2021-08-28 21:06:28 +00:00
|
|
|
- service: remote.turn_off
|
|
|
|
entity_id: remote.harmonyhub
|