mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fix energy gauge tooltip (#24404)
This commit is contained in:
parent
4974a12221
commit
197c9219bd
@ -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>
|
||||
|
@ -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"
|
||||
|
@ -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>
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user