diff --git a/custom_components/myenergy/translations/en.json b/custom_components/myenergy/translations/en.json index 0260303..3cc279e 100644 --- a/custom_components/myenergy/translations/en.json +++ b/custom_components/myenergy/translations/en.json @@ -11,13 +11,13 @@ "night_electricity_consumption": "Average electricity consumption per year nighttime and weekend (kWh)", "excl_night_electricity_consumption": "Average electricity consumption per year exclusive nighttime (kWh)", "solar_panels": "Solar panels", - "electricity_injection": "Electricty injection (kWh)", - "electricity_injection_night": "Electricty injection night and weekend (kWh)", + "electricity_injection": "Electricity injection (kWh)", + "electricity_injection_night": "Electricity injection night and weekend (kWh)", "inverter_power": "What is the total power of the inverter(s) of your installation?", - "electricity_provider": "Select your current electricty provider", + "electricity_provider": "Select your current electricity provider", "electric_car": "Electrical car", "gas_consumption": "Average gas consumption per year (kWh)", - "combine_elec_and_gas": "Combine electricty and gas from the same provider", + "combine_elec_and_gas": "Combine electricity and gas from the same provider", "gas_provider": "Select your current gas provider", "directdebit_invoice": "Mandatory payment of invoice by direct debit", "email_invoice": "Send invoice only via e-mail", @@ -33,13 +33,13 @@ "night_electricity_consumption": "Average electricity consumption per year nighttime and weekend (kWh)", "excl_night_electricity_consumption": "Average electricity consumption per year exclusive nighttime (kWh)", "solar_panels": "Solar panels", - "electricity_injection": "Electricty injection (kWh)", - "electricity_injection_night": "Electricty injection night and weekend (kWh)", + "electricity_injection": "Electricity injection (kWh)", + "electricity_injection_night": "Electricity injection night and weekend (kWh)", "inverter_power": "What is the total power of the inverter(s) of your installation?", - "electricity_provider": "Select your current electricty provider", + "electricity_provider": "Select your current electricity provider", "electric_car": "Electrical car", "gas_consumption": "Average gas consumption per year (kWh)", - "combine_elec_and_gas": "Combine electricty and gas from the same provider", + "combine_elec_and_gas": "Combine electricity and gas from the same provider", "gas_provider": "Select your current gas provider", "directdebit_invoice": "Mandatory payment of invoice by direct debit", "email_invoice": "Send invoice only via e-mail", @@ -64,13 +64,13 @@ "night_electricity_consumption": "Average electricity consumption per year nighttime and weekend (kWh)", "excl_night_electricity_consumption": "Average electricity consumption per year exclusive nighttime (kWh)", "solar_panels": "Solar panels", - "electricity_injection": "Electricty injection (kWh)", - "electricity_injection_night": "Electricty injection night and weekend (kWh)", + "electricity_injection": "Electricity injection (kWh)", + "electricity_injection_night": "Electricity injection night and weekend (kWh)", "inverter_power": "What is the total power of the inverter(s) of your installation?", - "electricity_provider": "Select your current electricty provider", + "electricity_provider": "Select your current electricity provider", "electric_car": "Electrical car", "gas_consumption": "Average gas consumption per year (kWh)", - "combine_elec_and_gas": "Combine electricty and gas from the same provider", + "combine_elec_and_gas": "Combine electricity and gas from the same provider", "gas_provider": "Select your current gas provider", "directdebit_invoice": "Mandatory payment of invoice by direct debit", "email_invoice": "Send invoice only via e-mail", @@ -83,4 +83,4 @@ "no_valid_settings": "No valid settings check in ha config." } } -} \ No newline at end of file +} diff --git a/custom_components/myenergy/utils.py b/custom_components/myenergy/utils.py index f024742..b57a9de 100644 --- a/custom_components/myenergy/utils.py +++ b/custom_components/myenergy/utils.py @@ -22,7 +22,7 @@ class FuelType(Enum): GAS = ("G","Aardgas","Gas") - ELECTRICITY = ("E","Elektriciteit","Electricty") + ELECTRICITY = ("E","Elektriciteit","Electricity") COMBINED = ("C","Elektriciteit en aardgas","Electricity and Gas") def __init__(self, code,fullnameNL, fullnameEN):