summaryrefslogtreecommitdiff
path: root/heating.py
diff options
context:
space:
mode:
authorroot <root@turin.home>2022-02-03 18:08:28 +0000
committerroot <root@turin.home>2022-02-03 18:08:28 +0000
commit1ca19f43c131d77f18008dde867e76153288de38 (patch)
tree9423f24da815fee682b73189f03d18641c557b3e /heating.py
parent333bdb9507ca82709d92fe8919a9b40fc02d7dc7 (diff)
Exports and formatting. Reformatting.
Diffstat (limited to 'heating.py')
-rw-r--r--heating.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/heating.py b/heating.py
index 472b00a..d6cb7cf 100644
--- a/heating.py
+++ b/heating.py
@@ -34,11 +34,16 @@ class heating(ABC):
self.turn_off()
self.db.exec(
"insert into temperature values (?,?,?,?)",
- (self.date.day(), self.date.time(), self.temperature, self.target)
+ (
+ self.date.day(),
+ self.date.time(),
+ self.temperature,
+ self.target,
+ ),
)
self.db.exec(
"insert into history values (?,?,?)",
- (self.date.day(), self.date.time(), int(self.on))
+ (self.date.day(), self.date.time(), int(self.on)),
)
"""