diff --git a/appdaemon/plugins/hass/hassapi.py b/appdaemon/plugins/hass/hassapi.py index 449118c0c..ba4a1e246 100644 --- a/appdaemon/plugins/hass/hassapi.py +++ b/appdaemon/plugins/hass/hassapi.py @@ -1,5 +1,6 @@ import requests from ast import literal_eval +from functools import wraps import appdaemon.adbase as adbase import appdaemon.adapi as adapi @@ -11,8 +12,6 @@ requests.packages.urllib3.disable_warnings(InsecureRequestWarning) -from functools import wraps - def hass_check(func): @wraps(func)