@@ -0,0 +1,9 @@
+#!/usr/bin/env python3
+import sqlite3
+from ..conf import config
+
+conn = sqlite3.connect(config['heatpump']['database'])
+def sql(query):
+ global conn
+ return conn.execute(query)