diff --git a/src/panels/energy/ha-panel-energy.ts b/src/panels/energy/ha-panel-energy.ts index 328e25cf4cd5..87b9a2f24832 100644 --- a/src/panels/energy/ha-panel-energy.ts +++ b/src/panels/energy/ha-panel-energy.ts @@ -88,27 +88,23 @@ class PanelEnergy extends LitElement { collectionKey="energy_dashboard" > ${this.hass.user?.is_admin - ? html` - - - - ${this.hass!.localize("ui.panel.energy.configure")} - - - - - ${this.hass!.localize("ui.panel.energy.download_data")} - - ` + ? html` + + ${this.hass!.localize("ui.panel.energy.configure")} + ` : nothing} + + + ${this.hass!.localize("ui.panel.energy.download_data")} +