From 39dd154fb791b10af78868f744f137d579b087c3 Mon Sep 17 00:00:00 2001 From: darthsandmann Date: Sun, 1 Jan 2023 13:56:18 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9Epackages/button/button=5Fpress.yaml?= =?UTF-8?q?=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/button/button_press.yaml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/packages/button/button_press.yaml b/packages/button/button_press.yaml index b89fe72..9ce8069 100755 --- a/packages/button/button_press.yaml +++ b/packages/button/button_press.yaml @@ -20,7 +20,11 @@ automation: subtype: arrow_left_click discovery_id: 0x0c4314fffef68790 action_arrow_left_click action: - - service: script.pos_left_incr + #- service: script.pos_left_incr + - service: scene.turn_on + target: + entity_id: scene.light_adaptive + metadata: {} mode: single # Button Left: Pos Right @@ -83,7 +87,11 @@ automation: subtype: "on" discovery_id: 0x0c4314fffef68790 action_on action: - - service: script.pos_up + #- service: script.pos_up + - service: scene.turn_on + target: + entity_id: scene.light_bright + metadata: {} mode: single # Down - alias: button_down @@ -110,5 +118,8 @@ automation: subtype: "off" discovery_id: 0x0c4314fffef68790 action_off action: - - service: script.pos_down + #- service: script.pos_down + - service: light.turn_off + target: + entity_id: light.all_lights mode: single