From 1f0dea980ff65a88a68483532f50779acec3a07f Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Fri, 16 Feb 2024 14:28:13 +0000 Subject: [PATCH] Debugging set_energy_source --- backend/Property.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/Property.py b/backend/Property.py index b20d409a..75cfaef1 100644 --- a/backend/Property.py +++ b/backend/Property.py @@ -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"