Traceback (most recent call last):


 "/usr/lib/python3.6/site-packages/homeassistant/components/sensor/qnap.py", line 205, in update

self.data["system_stats"] = self._api.get_system_stats()


 "/usr/lib/python3.6/site-packages/qnapstats/qnap_stats.py", line 204, in get_system_stats

force_list=("DNS_LIST")


 "/usr/lib/python3.6/site-packages/qnapstats/qnap_stats.py", line 69, in _get_url

result = self._execute_get_url(url, **kwargs)


 "/usr/lib/python3.6/site-packages/qnapstats/qnap_stats.py", line 82, in _execute_get_url

self._debuglog("Appending access_token (SID: " + self._sid + ") to url")
TypeError: must be str, not NoneType


Traceback (most recent call last):


 "C:\salt\bin\lib\site-packages\salt\loader.py", line 740, in grains

ret = funcs[key]()

TypeError: sub() missing 3 required positional arguments: 'pattern', 'repl', and 'string'
