2021-04-17 10:35:32 +00:00
|
|
|
# Kitchen button
|
2021-05-24 22:16:35 +00:00
|
|
|
- id: kitchen-button-1 # Upper Left
|
2021-04-17 10:35:32 +00:00
|
|
|
alias: '[Kitchen] Button 1'
|
|
|
|
description: ''
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- device_id: d2550c7b3da088e146edf7dc9d295310
|
|
|
|
domain: zha
|
|
|
|
platform: device
|
|
|
|
type: remote_button_short_press
|
|
|
|
subtype: button_1
|
|
|
|
action:
|
2022-08-04 22:09:51 +00:00
|
|
|
- service: script.kitchen_lights_on
|
2021-05-10 10:24:31 +00:00
|
|
|
|
|
|
|
- id: kitchen-button-2 # Upper right
|
2021-04-17 10:35:32 +00:00
|
|
|
alias: '[Kitchen] Button 2'
|
|
|
|
description: ''
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- device_id: d2550c7b3da088e146edf7dc9d295310
|
|
|
|
domain: zha
|
|
|
|
platform: device
|
|
|
|
type: remote_button_short_press
|
|
|
|
subtype: button_2
|
|
|
|
action:
|
2021-11-12 01:34:29 +00:00
|
|
|
- service: script.hallway_lights_on
|
2021-05-10 10:24:31 +00:00
|
|
|
|
|
|
|
- id: kitchen-button-3 # Lower left
|
2021-04-17 10:35:32 +00:00
|
|
|
alias: '[Kitchen] Button 3'
|
|
|
|
description: ''
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- device_id: d2550c7b3da088e146edf7dc9d295310
|
|
|
|
domain: zha
|
|
|
|
platform: device
|
|
|
|
type: remote_button_short_press
|
|
|
|
subtype: button_3
|
|
|
|
action:
|
2022-08-04 22:09:51 +00:00
|
|
|
- service: script.kitchen_lights_off
|
2021-05-10 10:24:31 +00:00
|
|
|
|
|
|
|
- id: kitchen-button-4 # Lower Right
|
2021-04-17 10:35:32 +00:00
|
|
|
alias: '[Kitchen] Button 4'
|
|
|
|
description: ''
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- device_id: d2550c7b3da088e146edf7dc9d295310
|
|
|
|
domain: zha
|
|
|
|
platform: device
|
|
|
|
type: remote_button_short_press
|
|
|
|
subtype: button_4
|
|
|
|
action:
|
|
|
|
- service: light.turn_off
|
|
|
|
target:
|
|
|
|
entity_id: light.hallway_light
|
2021-05-25 12:33:35 +00:00
|
|
|
- service: light.turn_off
|
|
|
|
target:
|
|
|
|
entity_id: light.hallway_lightstrip
|
2021-05-10 10:24:31 +00:00
|
|
|
|
|
|
|
- id: kitchen-button-2-held # Upper right
|
2021-04-17 10:35:32 +00:00
|
|
|
alias: '[Kitchen] Button 2 Hold'
|
|
|
|
description: ''
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- device_id: d2550c7b3da088e146edf7dc9d295310
|
|
|
|
domain: zha
|
|
|
|
platform: device
|
|
|
|
type: remote_button_long_press
|
|
|
|
subtype: button_2
|
|
|
|
action:
|
|
|
|
- service: light.turn_on
|
|
|
|
target:
|
|
|
|
entity_id: light.hallway_light
|
|
|
|
data:
|
|
|
|
brightness_step_pct: 10
|
2021-05-10 10:24:31 +00:00
|
|
|
|
|
|
|
- id: kitchen-button-4-held # Upper right
|
2021-04-17 10:35:32 +00:00
|
|
|
alias: '[Kitchen] Button 4 Hold'
|
|
|
|
description: ''
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- device_id: d2550c7b3da088e146edf7dc9d295310
|
|
|
|
domain: zha
|
|
|
|
platform: device
|
|
|
|
type: remote_button_long_press
|
|
|
|
subtype: button_4
|
|
|
|
action:
|
|
|
|
- service: light.turn_on
|
|
|
|
target:
|
|
|
|
entity_id: light.hallway_light
|
|
|
|
data:
|
|
|
|
brightness_step_pct: -10
|
|
|
|
|
|
|
|
# Kitchen sink button
|
2021-07-26 16:59:16 +00:00
|
|
|
- id: kitchen-sink-button
|
|
|
|
alias: '[Kitchen] Sink Button'
|
2020-12-29 20:45:59 +00:00
|
|
|
trigger:
|
2021-07-26 16:59:16 +00:00
|
|
|
- device_id: 1610374adcb5c5c1a763616a57411eac
|
2020-12-29 20:45:59 +00:00
|
|
|
domain: zha
|
|
|
|
platform: device
|
|
|
|
type: remote_button_short_press
|
|
|
|
subtype: turn_on
|
|
|
|
action:
|
2021-05-25 12:33:35 +00:00
|
|
|
- choose:
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
2021-07-26 16:59:16 +00:00
|
|
|
entity_id: light.kitchen_sink_lighstrip
|
2021-05-25 12:33:35 +00:00
|
|
|
state: 'on'
|
|
|
|
sequence:
|
2021-07-26 16:59:16 +00:00
|
|
|
- service: light.turn_off
|
2021-05-25 12:33:35 +00:00
|
|
|
entity_id: light.kitchen_sink_lighstrip
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
2021-07-26 16:59:16 +00:00
|
|
|
entity_id: light.kitchen_sink_lighstrip
|
2021-05-25 12:33:35 +00:00
|
|
|
state: 'off'
|
|
|
|
sequence:
|
2021-07-26 16:59:16 +00:00
|
|
|
- choose:
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.sleep_mode
|
|
|
|
state: 'on'
|
|
|
|
sequence:
|
|
|
|
- service: light.turn_on
|
|
|
|
entity_id: light.kitchen_sink_lighstrip
|
|
|
|
data:
|
|
|
|
brightness_pct: 100
|
|
|
|
kelvin: 2000
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.sleep_mode
|
|
|
|
state: 'off'
|
|
|
|
sequence:
|
|
|
|
- service: light.turn_on
|
|
|
|
entity_id: light.kitchen_sink_lighstrip
|
|
|
|
data:
|
|
|
|
brightness_pct: 100
|
|
|
|
kelvin: 3200
|
2020-12-29 20:45:59 +00:00
|
|
|
mode: single
|
2021-05-10 10:24:31 +00:00
|
|
|
|
2021-07-26 16:59:16 +00:00
|
|
|
- id: kitchen-sink-button-hold
|
|
|
|
alias: '[Kitchen] Sink Button Hold'
|
2020-12-29 20:45:59 +00:00
|
|
|
trigger:
|
2021-07-26 16:59:16 +00:00
|
|
|
- device_id: 1610374adcb5c5c1a763616a57411eac
|
2020-12-29 20:45:59 +00:00
|
|
|
domain: zha
|
|
|
|
platform: device
|
2021-07-26 16:59:16 +00:00
|
|
|
type: remote_button_long_press
|
|
|
|
subtype: dim_up
|
2020-12-29 20:45:59 +00:00
|
|
|
action:
|
2022-08-04 22:09:51 +00:00
|
|
|
- service: script.kitchen_lights_on
|
2020-12-29 20:45:59 +00:00
|
|
|
mode: single
|