Add device automation translations to add automation device dia… (#5573)

* Add device automation translations to add automation device dialog

* Update translations-mixin.ts
This commit is contained in:
Bram Kragten 2020-04-22 11:12:27 +02:00 committed by GitHub
parent a49c84032b
commit 2b76b3887e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);