mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Debugging set_energy_source
This commit is contained in:
parent
4fb479d3c1
commit
1f0dea980f
1 changed files with 1 additions and 1 deletions
|
|
@ -761,7 +761,7 @@ class Property:
|
|||
|
||||
# If the tariff explicitly indicates electricity use without a dual indication and mains_gas_flag is not True
|
||||
# We check for the common electricity tariffs
|
||||
if not self.data["mains_gas_flag"] and self.data["energy_tariff"] in [
|
||||
if not self.data["mains-gas-flag"] and self.data["energy-tariff"] in [
|
||||
"Single", "off-peak 7 hour", "off-peak 10 hour", "off-peak 18 hour", "standard tariff", "24 hour"
|
||||
]:
|
||||
energy_source = "electricity"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue