1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-04-02 00:27:49 +01:00

Fix Energy Dialog Localisation (#29654)

`localizeBaseKey` was seemingly being set as an attribute not a property, and therefore failing to apply.
This commit is contained in:
Tom Carpenter
2026-02-16 09:58:51 +00:00
committed by GitHub
parent e72facdec8
commit 2ba0e77e73
2 changed files with 2 additions and 2 deletions

View File

@@ -175,7 +175,7 @@ export class DialogEnergyBatterySettings
.powerType=${this._powerType}
.powerConfig=${this._powerConfig}
.excludeList=${this._excludeListPower}
localizeBaseKey="ui.panel.config.energy.battery.dialog"
.localizeBaseKey=${"ui.panel.config.energy.battery.dialog"}
@power-config-changed=${this._handlePowerConfigChanged}
></ha-energy-power-config>

View File

@@ -434,7 +434,7 @@ export class DialogEnergyGridSettings
.powerType=${this._powerType}
.powerConfig=${this._powerConfig}
.excludeList=${this._excludeListPower}
localizeBaseKey="ui.panel.config.energy.grid.dialog"
.localizeBaseKey=${"ui.panel.config.energy.grid.dialog"}
@power-config-changed=${this._handlePowerConfigChanged}
></ha-energy-power-config>