„packages/button/button_press.yaml“ ändern
This commit is contained in:
parent
cb1a1596aa
commit
39dd154fb7
@ -20,7 +20,11 @@ automation:
|
|||||||
subtype: arrow_left_click
|
subtype: arrow_left_click
|
||||||
discovery_id: 0x0c4314fffef68790 action_arrow_left_click
|
discovery_id: 0x0c4314fffef68790 action_arrow_left_click
|
||||||
action:
|
action:
|
||||||
- service: script.pos_left_incr
|
#- service: script.pos_left_incr
|
||||||
|
- service: scene.turn_on
|
||||||
|
target:
|
||||||
|
entity_id: scene.light_adaptive
|
||||||
|
metadata: {}
|
||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
# Button Left: Pos Right
|
# Button Left: Pos Right
|
||||||
@ -83,7 +87,11 @@ automation:
|
|||||||
subtype: "on"
|
subtype: "on"
|
||||||
discovery_id: 0x0c4314fffef68790 action_on
|
discovery_id: 0x0c4314fffef68790 action_on
|
||||||
action:
|
action:
|
||||||
- service: script.pos_up
|
#- service: script.pos_up
|
||||||
|
- service: scene.turn_on
|
||||||
|
target:
|
||||||
|
entity_id: scene.light_bright
|
||||||
|
metadata: {}
|
||||||
mode: single
|
mode: single
|
||||||
# Down
|
# Down
|
||||||
- alias: button_down
|
- alias: button_down
|
||||||
@ -110,5 +118,8 @@ automation:
|
|||||||
subtype: "off"
|
subtype: "off"
|
||||||
discovery_id: 0x0c4314fffef68790 action_off
|
discovery_id: 0x0c4314fffef68790 action_off
|
||||||
action:
|
action:
|
||||||
- service: script.pos_down
|
#- service: script.pos_down
|
||||||
|
- service: light.turn_off
|
||||||
|
target:
|
||||||
|
entity_id: light.all_lights
|
||||||
mode: single
|
mode: single
|
||||||
|
Reference in New Issue
Block a user