From 619f9f76ee906abeb0aae3896476ff10115c630d Mon Sep 17 00:00:00 2001 From: Simon Lamon <32477463+silamon@users.noreply.github.com> Date: Mon, 7 Oct 2024 09:23:48 +0200 Subject: [PATCH] Fixup service/action when entity is picked in activate scene (#22259) Fixup service/action when entity is picked --- .../action/types/ha-automation-action-activate_scene.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/panels/config/automation/action/types/ha-automation-action-activate_scene.ts b/src/panels/config/automation/action/types/ha-automation-action-activate_scene.ts index f7f54fe8e0..bd5abb2145 100644 --- a/src/panels/config/automation/action/types/ha-automation-action-activate_scene.ts +++ b/src/panels/config/automation/action/types/ha-automation-action-activate_scene.ts @@ -55,12 +55,12 @@ export class HaSceneAction extends LitElement implements ActionElement { fireEvent(this, "value-changed", { value: { ...this.action, - service: "scene.turn_on", + action: "scene.turn_on", target: { entity_id: ev.detail.value, }, metadata: {}, - }, + } as SceneAction, }); } }