fix hui-action-editor (#21560)

This commit is contained in:
Bram Kragten 2024-08-02 14:27:05 +02:00 committed by GitHub
parent d634317438
commit a9310fdde0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -292,7 +292,7 @@ export class HuiActionEditor extends LitElement {
ev.stopPropagation(); ev.stopPropagation();
const value = { const value = {
...this.config!, ...this.config!,
perform_action: ev.detail.value.service || "", perform_action: ev.detail.value.action || "",
data: ev.detail.value.data, data: ev.detail.value.data,
target: ev.detail.value.target || {}, target: ev.detail.value.target || {},
}; };