diff --git a/lib/TWCManager/EMS/TeslaPowerwall2.py b/lib/TWCManager/EMS/TeslaPowerwall2.py index 5f3f322b..dff89e63 100644 --- a/lib/TWCManager/EMS/TeslaPowerwall2.py +++ b/lib/TWCManager/EMS/TeslaPowerwall2.py @@ -293,6 +293,8 @@ def getStormWatch(self): bodyjson = r.json() lastData = bodyjson["response"] except: + if r.status_code is 403: + logger.warn("Error fetching Powerwall cloud data; does your API token have energy_device_data scope?") pass self.lastFetch[key] = (now, lastData)