diff --git a/src/panels/config/devices/device-detail/ha-device-automation-dialog.ts b/src/panels/config/devices/device-detail/ha-device-automation-dialog.ts index 326cf503b8..28a59b03c4 100644 --- a/src/panels/config/devices/device-detail/ha-device-automation-dialog.ts +++ b/src/panels/config/devices/device-detail/ha-device-automation-dialog.ts @@ -39,6 +39,11 @@ export class DialogDeviceAutomation extends LitElement { await this.updateComplete; } + protected firstUpdated(changedProps) { + super.firstUpdated(changedProps); + this.hass.loadBackendTranslation("device_automation"); + } + protected updated(changedProps): void { super.updated(changedProps);