Fix energy gauge tooltip (#24404)

This commit is contained in:
Wendelin 2025-02-26 15:27:09 +01:00 committed by GitHub
parent 4974a12221
commit 197c9219bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 2 deletions

View File

@ -150,6 +150,7 @@ class HuiEnergyCarbonGaugeCard
"ui.panel.lovelace.cards.energy.carbon_consumed_gauge.card_indicates_energy_used"
)}
placement="left"
hoist
>
<ha-svg-icon .path=${mdiInformation}></ha-svg-icon>
</ha-tooltip>

View File

@ -125,7 +125,7 @@ class HuiEnergyGridGaugeCard
label="kWh"
needle
></ha-gauge>
<ha-tooltip placement="left">
<ha-tooltip placement="left" hoist>
<span slot="content">
${this.hass.localize(
"ui.panel.lovelace.cards.energy.grid_neutrality_gauge.energy_dependency"

View File

@ -192,6 +192,7 @@ class HuiEnergySelfSufficiencyGaugeCard
.content=${this.hass.localize(
"ui.panel.lovelace.cards.energy.self_sufficiency_gauge.card_indicates_self_sufficiency_quota"
)}
hoist
>
<ha-svg-icon .path=${mdiInformation}></ha-svg-icon>
</ha-tooltip>

View File

@ -117,7 +117,7 @@ class HuiEnergySolarGaugeCard
"--gauge-color": this._computeSeverity(value),
})}
></ha-gauge>
<ha-tooltip placement="left">
<ha-tooltip placement="left" hoist>
<span slot="content">
${this.hass.localize(
"ui.panel.lovelace.cards.energy.solar_consumed_gauge.card_indicates_solar_energy_used"