Fix bedroom button automations
This commit is contained in:
parent
da300f8987
commit
1d446dcba2
@ -7,13 +7,10 @@
|
|||||||
platform: device
|
platform: device
|
||||||
type: remote_button_short_press
|
type: remote_button_short_press
|
||||||
subtype: turn_on
|
subtype: turn_on
|
||||||
condition: [ ]
|
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
data:
|
data:
|
||||||
entity_id:
|
entity_id: light.bedroom_lights
|
||||||
- light.bedroom_1
|
|
||||||
- light.bedroom_2
|
|
||||||
mode: single
|
mode: single
|
||||||
- id: bedroom-button-turn-off
|
- id: bedroom-button-turn-off
|
||||||
alias: '[Bedroom] Button Turn Off'
|
alias: '[Bedroom] Button Turn Off'
|
||||||
@ -23,13 +20,10 @@
|
|||||||
platform: device
|
platform: device
|
||||||
type: remote_button_short_press
|
type: remote_button_short_press
|
||||||
subtype: turn_off
|
subtype: turn_off
|
||||||
condition: [ ]
|
|
||||||
action:
|
action:
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
data:
|
data:
|
||||||
entity_id:
|
entity_id: light.bedroom_lights
|
||||||
- light.bedroom_1
|
|
||||||
- light.bedroom_2
|
|
||||||
mode: single
|
mode: single
|
||||||
- id: bedroom-button-dim-up
|
- id: bedroom-button-dim-up
|
||||||
alias: '[Bedroom] Button Dim Up'
|
alias: '[Bedroom] Button Dim Up'
|
||||||
@ -39,7 +33,6 @@
|
|||||||
platform: device
|
platform: device
|
||||||
type: remote_button_short_press
|
type: remote_button_short_press
|
||||||
subtype: dim_up
|
subtype: dim_up
|
||||||
condition: [ ]
|
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
data:
|
data:
|
||||||
@ -47,7 +40,7 @@
|
|||||||
entity_id: light.bedroom_lights
|
entity_id: light.bedroom_lights
|
||||||
mode: single
|
mode: single
|
||||||
- id: bedroom-button-dim-down
|
- id: bedroom-button-dim-down
|
||||||
alias: '[Bedroom] Button Dim Up'
|
alias: '[Bedroom] Button Dim Down'
|
||||||
trigger:
|
trigger:
|
||||||
- device_id: 15b083b6b5e2acb5d37fbbfbfc76281f
|
- device_id: 15b083b6b5e2acb5d37fbbfbfc76281f
|
||||||
domain: zha
|
domain: zha
|
||||||
@ -63,14 +56,13 @@
|
|||||||
mode: single
|
mode: single
|
||||||
# Double click
|
# Double click
|
||||||
- id: bedroom-button-dim-up-double
|
- id: bedroom-button-dim-up-double
|
||||||
alias: '[Bedroom] Button Dim Up'
|
alias: '[Bedroom] Button Dim Up Double'
|
||||||
trigger:
|
trigger:
|
||||||
- device_id: 15b083b6b5e2acb5d37fbbfbfc76281f
|
- device_id: 15b083b6b5e2acb5d37fbbfbfc76281f
|
||||||
domain: zha
|
domain: zha
|
||||||
platform: device
|
platform: device
|
||||||
type: remote_button_double_press
|
type: remote_button_double_press
|
||||||
subtype: dim_up
|
subtype: dim_up
|
||||||
condition: [ ]
|
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
data:
|
data:
|
||||||
@ -86,7 +78,6 @@
|
|||||||
platform: device
|
platform: device
|
||||||
type: remote_button_double_press
|
type: remote_button_double_press
|
||||||
subtype: dim_down
|
subtype: dim_down
|
||||||
condition: [ ]
|
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
data:
|
data:
|
||||||
|
Loading…
Reference in New Issue
Block a user