mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fixup service/action when entity is picked in activate scene (#22259)
Fixup service/action when entity is picked
This commit is contained in:
parent
f771bc10db
commit
619f9f76ee
@ -55,12 +55,12 @@ export class HaSceneAction extends LitElement implements ActionElement {
|
|||||||
fireEvent(this, "value-changed", {
|
fireEvent(this, "value-changed", {
|
||||||
value: {
|
value: {
|
||||||
...this.action,
|
...this.action,
|
||||||
service: "scene.turn_on",
|
action: "scene.turn_on",
|
||||||
target: {
|
target: {
|
||||||
entity_id: ev.detail.value,
|
entity_id: ev.detail.value,
|
||||||
},
|
},
|
||||||
metadata: {},
|
metadata: {},
|
||||||
},
|
} as SceneAction,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user