From d32f84f28d1e1d66609034b9cd7fef3c6abcc8c0 Mon Sep 17 00:00:00 2001 From: Patrick ZAJDA Date: Wed, 18 May 2022 18:17:31 +0200 Subject: [PATCH] Add missing labels in energy dashboard settings (#12722) Signed-off-by: Patrick ZAJDA --- .../components/ha-energy-battery-settings.ts | 6 ++++++ .../energy/components/ha-energy-gas-settings.ts | 6 ++++++ .../energy/components/ha-energy-grid-settings.ts | 15 +++++++++++++++ .../energy/components/ha-energy-solar-settings.ts | 6 ++++++ src/translations/en.json | 11 +++++++++++ 5 files changed, 44 insertions(+) diff --git a/src/panels/config/energy/components/ha-energy-battery-settings.ts b/src/panels/config/energy/components/ha-energy-battery-settings.ts index 121ec20697..6879a34c96 100644 --- a/src/panels/config/energy/components/ha-energy-battery-settings.ts +++ b/src/panels/config/energy/components/ha-energy-battery-settings.ts @@ -107,10 +107,16 @@ export class EnergyBatterySettings extends LitElement { > diff --git a/src/panels/config/energy/components/ha-energy-gas-settings.ts b/src/panels/config/energy/components/ha-energy-gas-settings.ts index 20d18b6fa7..f771582229 100644 --- a/src/panels/config/energy/components/ha-energy-gas-settings.ts +++ b/src/panels/config/energy/components/ha-energy-gas-settings.ts @@ -94,10 +94,16 @@ export class EnergyGasSettings extends LitElement { : source.stat_energy_from} diff --git a/src/panels/config/energy/components/ha-energy-grid-settings.ts b/src/panels/config/energy/components/ha-energy-grid-settings.ts index e903805a4f..e5d5247f71 100644 --- a/src/panels/config/energy/components/ha-energy-grid-settings.ts +++ b/src/panels/config/energy/components/ha-energy-grid-settings.ts @@ -132,10 +132,16 @@ export class EnergyGridSettings extends LitElement { : flow.stat_energy_from} @@ -171,10 +177,16 @@ export class EnergyGridSettings extends LitElement { : flow.stat_energy_to} @@ -212,6 +224,9 @@ export class EnergyGridSettings extends LitElement { diff --git a/src/panels/config/energy/components/ha-energy-solar-settings.ts b/src/panels/config/energy/components/ha-energy-solar-settings.ts index 87582644b5..e8d0093299 100644 --- a/src/panels/config/energy/components/ha-energy-solar-settings.ts +++ b/src/panels/config/energy/components/ha-energy-solar-settings.ts @@ -104,12 +104,18 @@ export class EnergySolarSettings extends LitElement { ${this.info ? html` ` : ""} diff --git a/src/translations/en.json b/src/translations/en.json index 33358a964b..f51e117884 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -1308,10 +1308,15 @@ "sub": "Configure the amount of energy that you consume from the grid and, if you produce energy, give back to the grid. This allows Home Assistant to track your whole home energy usage.", "learn_more": "More information on how to get started.", "grid_consumption": "Grid consumption", + "edit_consumption": "Edit consumption", + "delete_consumption": "Delete consumption", "add_consumption": "Add consumption", "return_to_grid": "Return to grid", + "edit_return": "Edit return", + "delete_return": "Delete return", "add_return": "Add return", "grid_carbon_footprint": "Grid carbon footprint", + "remove_co2_signal": "Remove CO2 signal integration", "add_co2_signal": "Add CO2 signal integration", "flow_dialog": { "from": { @@ -1349,6 +1354,8 @@ "sub": "Let Home Assistant monitor your solar panels and give you insight on their performance.", "learn_more": "More information on how to get started.", "solar_production": "Solar production", + "edit_solar_production": "Edit solar production", + "delete_solar_production": "Delete solar production", "add_solar_production": "Add solar production", "stat_production": "Your solar energy production", "stat_return_to_grid": "Solar energy returned to the grid", @@ -1368,6 +1375,8 @@ "sub": "If you have a battery system, you can configure it to monitor how much energy was stored and used from your battery.", "learn_more": "More information on how to get started.", "battery_systems": "Battery systems", + "edit_battery_system": "Edit battery system", + "delete_battery_system": "Delete battery system", "add_battery_system": "Add battery system", "dialog": { "header": "Configure battery system", @@ -1380,6 +1389,8 @@ "sub": "Let Home Assistant monitor your gas usage.", "learn_more": "More information on how to get started.", "gas_consumption": "Gas consumption", + "edit_gas_source": "Edit gas source", + "delete_gas_source": "Delete gas source", "add_gas_source": "Add gas source", "dialog": { "header": "Configure gas consumption",