summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorroot <root@turin.home>2022-01-30 15:12:43 +0000
committerroot <root@turin.home>2022-01-30 15:12:43 +0000
commit650ac8c1be33425c04f271756dc8b9130d63cee1 (patch)
treea2b9203d1bbfa4dcecc22bfac3be828e45133cca /main.py
parentafdc48378489d1ce1183dfd720fd838074812a49 (diff)
Weather information
Diffstat (limited to 'main.py')
-rw-r--r--main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.py b/main.py
index 7cfa088..113d0f7 100644
--- a/main.py
+++ b/main.py
@@ -16,7 +16,7 @@ DBFILE = "data.db"
db = sql.db(DBFILE)
-# weather = weather_met_no()
+weather = weather_met_no()
# Check if running on correct device : defensive coding against running
# on the wrong device
@@ -38,7 +38,7 @@ def main_page():
"main.html",
actual_temp=boiler.temperature,
target_temp=boiler.target
- # forecast_temp=weather.temperature()
+ forecast_temp=weather.temperature()
)