summaryrefslogtreecommitdiff
path: root/heating.py
diff options
context:
space:
mode:
Diffstat (limited to 'heating.py')
-rw-r--r--heating.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/heating.py b/heating.py
index fe8030d..472b00a 100644
--- a/heating.py
+++ b/heating.py
@@ -38,7 +38,7 @@ class heating(ABC):
)
self.db.exec(
"insert into history values (?,?,?)",
- (self.date.day(), self.date.time(), heatingon(int))
+ (self.date.day(), self.date.time(), int(self.on))
)
"""