aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/tibber_consumption.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/tibber_consumption.py')
-rw-r--r--scripts/tibber_consumption.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/tibber_consumption.py b/scripts/tibber_consumption.py
index 01732d0..b88d00b 100644
--- a/scripts/tibber_consumption.py
+++ b/scripts/tibber_consumption.py
@@ -3,13 +3,11 @@
import os
import sys
-from datetime import datetime
-from datetime import timedelta
-from tzlocal import get_localzone
-import requests
+from datetime import datetime, timedelta
import common
-
+import requests
+from tzlocal import get_localzone
# variables
apiKey = os.environ['el_tibber_token']