Fix action descriptions switch to English when using search (#22689)

* var mistake

* Update src/panels/config/automation/add-automation-element-dialog.ts

* prettier
This commit is contained in:
Simon Lamon 2024-11-06 11:17:36 +01:00 committed by GitHub
parent 5430040b96
commit 04a45a4361
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -370,7 +370,7 @@ class DialogAddAutomationElement extends LitElement implements HassDialog {
}`,
description:
this.hass.localize(
`component.${domain}.services.${service}.description`
`component.${dmn}.services.${service}.description`
) || services[dmn][service]?.description,
});
}