Fix untracked consumption string (#21825)

This commit is contained in:
karwosts 2024-08-29 00:57:53 -07:00 committed by GitHub
parent 3ebb268b57
commit 87b58b0bbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 3 deletions

View File

@ -377,7 +377,9 @@ export class HuiEnergyDevicesDetailGraphCard
}); });
}); });
const dataset = { const dataset = {
label: this.hass.localize("ui.panel.energy.charts.untracked_consumption"), label: this.hass.localize(
"ui.panel.lovelace.cards.energy.energy_devices_detail_graph.untracked_consumption"
),
hidden: this._hiddenStats.includes("untracked"), hidden: this._hiddenStats.includes("untracked"),
borderColor: getEnergyColor( borderColor: getEnergyColor(
computedStyle, computedStyle,

View File

@ -5435,6 +5435,9 @@
"energy_usage": "Energy usage", "energy_usage": "Energy usage",
"previous_energy_usage": "Previous energy usage" "previous_energy_usage": "Previous energy usage"
}, },
"energy_devices_detail_graph": {
"untracked_consumption": "Untracked consumption"
},
"carbon_consumed_gauge": { "carbon_consumed_gauge": {
"card_indicates_energy_used": "This card indicates how much of the energy consumed by your home was generated using non-fossil fuels like solar, wind, and nuclear. The higher, the better!", "card_indicates_energy_used": "This card indicates how much of the energy consumed by your home was generated using non-fossil fuels like solar, wind, and nuclear. The higher, the better!",
"low_carbon_energy_consumed": "Low-carbon energy consumed", "low_carbon_energy_consumed": "Low-carbon energy consumed",
@ -7158,8 +7161,7 @@
"charts": { "charts": {
"stat_house_energy_meter": "Total energy consumption", "stat_house_energy_meter": "Total energy consumption",
"solar": "Solar", "solar": "Solar",
"by_device": "Consumption by device", "by_device": "Consumption by device"
"untracked_consumption": "Untracked consumption"
}, },
"cards": { "cards": {
"energy_usage_graph_title": "Energy usage", "energy_usage_graph_title": "Energy usage",