Skip to content

Commit

Permalink
Merge pull request #9 from danito/patch-1
Browse files Browse the repository at this point in the history
Patch 1
  • Loading branch information
myTselection authored Oct 10, 2023
2 parents 32909b9 + dbc35df commit 497e682
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
26 changes: 13 additions & 13 deletions custom_components/myenergy/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -83,4 +83,4 @@
"no_valid_settings": "No valid settings check in ha config."
}
}
}
}
4 changes: 2 additions & 2 deletions custom_components/myenergy/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -185,4 +185,4 @@ def get_data(self, config, contract_type: ContractType):
result[sectionName] = providerdetails_array
return result



0 comments on commit 497e682

Please sign in to comment.