Ensure energy card titles always displayed (#18432)

This commit is contained in:
karwosts 2023-10-27 01:42:01 -07:00 committed by GitHub
parent f1748e4dd5
commit 4e9b118728
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,6 +48,9 @@ class PanelEnergy extends LitElement {
if (oldHass?.locale !== this.hass.locale) {
this._setLovelace();
}
if (oldHass && oldHass.localize !== this.hass.localize) {
this._reloadView();
}
}
protected render(): TemplateResult {