Advertisement
dpDesignz

HASSIO Log - 2020-02-02

Feb 2nd, 2020 (edited)
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 111.63 KB | None | 0 0
  1. 2020-02-02 21:22:19 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
  2. 2020-02-02 21:22:19 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for zigbee2mqtt_networkmap which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
  3. 2020-02-02 21:22:20 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=119 from 2020-02-02 08:05:03.871751)
  4. 2020-02-02 21:22:23 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for melview which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
  5. 2020-02-02 21:22:24 DEBUG (SyncWorker_14) [custom_components.melview.climate] adding component
  6. 2020-02-02 21:22:25 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for feedparser which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
  7. 2020-02-02 21:22:25 DEBUG (SyncWorker_14) [custom_components.melview.climate] new device: Lounge
  8. 2020-02-02 21:22:25 DEBUG (SyncWorker_14) [custom_components.melview.climate] component successfully added
  9. 2020-02-02 21:22:26 WARNING (MainThread) [homeassistant.components.mqtt] Data in your config entry is going to override your configuration.yaml: {'broker': 'core-mosquitto.local.hass.io', 'discovery': True, 'password': 'eesh6Eeb0oVii2eibo7xaetha6chae5lu1yohsh9EeshuenahchooPa9phojah6Y', 'port': 1883, 'protocol': '3.1.1', 'username': 'homeassistant'}
  10. 2020-02-02 21:22:28 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for plex_recently_added which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
  11. 2020-02-02 21:22:28 WARNING (MainThread) [homeassistant.components.plex] Imported configuration has multiple available Plex servers. Specify server in configuration or add a new Integration.
  12. 2020-02-02 21:22:29 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for trakt which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
  13. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform fitbit
  14. Traceback (most recent call last):
  15. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 158, in _async_setup_platform
  16. await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  17. File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
  18. return fut.result()
  19. File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
  20. result = self.fn(*self.args, **self.kwargs)
  21. File "/usr/src/homeassistant/homeassistant/components/fitbit/sensor.py", line 252, in setup_platform
  22. authd_client.client.refresh_token()
  23. File "/usr/local/lib/python3.7/site-packages/fitbit/api.py", line 158, in refresh_token
  24. auth=HTTPBasicAuth(self.client_id, self.client_secret)
  25. File "/usr/local/lib/python3.7/site-packages/requests_oauthlib/oauth2_session.py", line 309, in refresh_token
  26. self.token = self._client.parse_request_body_response(r.text, scope=self.scope)
  27. File "/usr/local/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 421, in parse_request_body_response
  28. self.token = parse_token_response(body, scope=scope)
  29. File "/usr/local/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 431, in parse_token_response
  30. validate_token_parameters(params)
  31. File "/usr/local/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 438, in validate_token_parameters
  32. raise_from_error(params.get('error'), params)
  33. File "/usr/local/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/errors.py", line 405, in raise_from_error
  34. raise cls(**kwargs)
  35. oauthlib.oauth2.rfc6749.errors.InvalidGrantError: (invalid_grant)
  36. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x086bd7fffe010ffc/linkquality/config': '{"unit_of_measurement":"-","value_template":"{{ value_json.linkquality }}","state_topic":"zigbee2mqtt/0x086bd7fffe010ffc","json_attributes_topic":"zigbee2mqtt/0x086bd7fffe010ffc","name":"0x086bd7fffe010ffc_linkquality","unique_id":"0x086bd7fffe010ffc_linkquality_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x086bd7fffe010ffc"],"name":"0x086bd7fffe010ffc","sw_version":"Zigbee2mqtt 1.7.1","model":"TRADFRI LED bulb E27 1000 lumen, dimmable, opal white (LED1623G12)","manufacturer":"IKEA"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  37. Traceback (most recent call last):
  38. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  39. self._get()
  40. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  41. json_data = self._handle_request('get', url)
  42. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  43. raise self.error_map[response.status_code]()
  44. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  45.  
  46. During handling of the above exception, another exception occurred:
  47.  
  48. Traceback (most recent call last):
  49. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  50. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  51. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  52. await self.acquire()
  53. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  54. await fut
  55. concurrent.futures._base.CancelledError
  56.  
  57. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d0003cb8884/humidity/config': '{"unit_of_measurement":"%","device_class":"humidity","value_template":"{{ value_json.humidity }}","state_topic":"zigbee2mqtt/0x00158d0003cb8884","json_attributes_topic":"zigbee2mqtt/0x00158d0003cb8884","name":"0x00158d0003cb8884_humidity","unique_id":"0x00158d0003cb8884_humidity_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d0003cb8884"],"name":"0x00158d0003cb8884","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  58. Traceback (most recent call last):
  59. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  60. self._get()
  61. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  62. json_data = self._handle_request('get', url)
  63. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  64. raise self.error_map[response.status_code]()
  65. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  66.  
  67. During handling of the above exception, another exception occurred:
  68.  
  69. Traceback (most recent call last):
  70. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  71. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  72. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  73. await self.acquire()
  74. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  75. await fut
  76. concurrent.futures._base.CancelledError
  77.  
  78. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d00034d003e/linkquality/config': '{"unit_of_measurement":"-","value_template":"{{ value_json.linkquality }}","state_topic":"zigbee2mqtt/0x00158d00034d003e","json_attributes_topic":"zigbee2mqtt/0x00158d00034d003e","name":"0x00158d00034d003e_linkquality","unique_id":"0x00158d00034d003e_linkquality_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d00034d003e"],"name":"0x00158d00034d003e","sw_version":"Zigbee2mqtt 1.7.1","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  79. Traceback (most recent call last):
  80. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  81. self._get()
  82. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  83. json_data = self._handle_request('get', url)
  84. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  85. raise self.error_map[response.status_code]()
  86. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  87.  
  88. During handling of the above exception, another exception occurred:
  89.  
  90. Traceback (most recent call last):
  91. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  92. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  93. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  94. await self.acquire()
  95. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  96. await fut
  97. concurrent.futures._base.CancelledError
  98.  
  99. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d0003cb7d23/battery/config': '{"unit_of_measurement":"%","device_class":"battery","value_template":"{{ value_json.battery }}","state_topic":"zigbee2mqtt/0x00158d0003cb7d23","json_attributes_topic":"zigbee2mqtt/0x00158d0003cb7d23","name":"0x00158d0003cb7d23_battery","unique_id":"0x00158d0003cb7d23_battery_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d0003cb7d23"],"name":"0x00158d0003cb7d23","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  100. Traceback (most recent call last):
  101. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  102. self._get()
  103. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  104. json_data = self._handle_request('get', url)
  105. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  106. raise self.error_map[response.status_code]()
  107. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  108.  
  109. During handling of the above exception, another exception occurred:
  110.  
  111. Traceback (most recent call last):
  112. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  113. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  114. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  115. await self.acquire()
  116. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  117. await fut
  118. concurrent.futures._base.CancelledError
  119.  
  120. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d0003cb8884/linkquality/config': '{"unit_of_measurement":"-","value_template":"{{ value_json.linkquality }}","state_topic":"zigbee2mqtt/0x00158d0003cb8884","json_attributes_topic":"zigbee2mqtt/0x00158d0003cb8884","name":"0x00158d0003cb8884_linkquality","unique_id":"0x00158d0003cb8884_linkquality_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d0003cb8884"],"name":"0x00158d0003cb8884","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  121. Traceback (most recent call last):
  122. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  123. self._get()
  124. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  125. json_data = self._handle_request('get', url)
  126. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  127. raise self.error_map[response.status_code]()
  128. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  129.  
  130. During handling of the above exception, another exception occurred:
  131.  
  132. Traceback (most recent call last):
  133. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  134. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  135. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  136. await self.acquire()
  137. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  138. await fut
  139. concurrent.futures._base.CancelledError
  140.  
  141. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d00034d003e/battery/config': '{"unit_of_measurement":"%","device_class":"battery","value_template":"{{ value_json.battery }}","state_topic":"zigbee2mqtt/0x00158d00034d003e","json_attributes_topic":"zigbee2mqtt/0x00158d00034d003e","name":"0x00158d00034d003e_battery","unique_id":"0x00158d00034d003e_battery_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d00034d003e"],"name":"0x00158d00034d003e","sw_version":"Zigbee2mqtt 1.7.1","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  142. Traceback (most recent call last):
  143. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  144. self._get()
  145. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  146. json_data = self._handle_request('get', url)
  147. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  148. raise self.error_map[response.status_code]()
  149. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  150.  
  151. During handling of the above exception, another exception occurred:
  152.  
  153. Traceback (most recent call last):
  154. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  155. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  156. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  157. await self.acquire()
  158. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  159. await fut
  160. concurrent.futures._base.CancelledError
  161.  
  162. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d0003cb8884/temperature/config': '{"unit_of_measurement":"°C","device_class":"temperature","value_template":"{{ value_json.temperature }}","state_topic":"zigbee2mqtt/0x00158d0003cb8884","json_attributes_topic":"zigbee2mqtt/0x00158d0003cb8884","name":"0x00158d0003cb8884_temperature","unique_id":"0x00158d0003cb8884_temperature_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d0003cb8884"],"name":"0x00158d0003cb8884","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  163. Traceback (most recent call last):
  164. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  165. self._get()
  166. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  167. json_data = self._handle_request('get', url)
  168. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  169. raise self.error_map[response.status_code]()
  170. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  171.  
  172. During handling of the above exception, another exception occurred:
  173.  
  174. Traceback (most recent call last):
  175. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  176. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  177. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  178. await self.acquire()
  179. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  180. await fut
  181. concurrent.futures._base.CancelledError
  182.  
  183. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.setup] Error during setup of component sensor
  184. Traceback (most recent call last):
  185. File "/usr/local/lib/python3.7/asyncio/runners.py", line 43, in run
  186. return loop.run_until_complete(main)
  187. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 570, in run_until_complete
  188. self.run_forever()
  189. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 538, in run_forever
  190. self._run_once()
  191. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 1782, in _run_once
  192. handle._run()
  193. File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
  194. self._context.run(self._callback, *self._args)
  195. File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 233, in async_setup_platform
  196. await self._platforms[key].async_setup(platform_config, discovery_info)
  197. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 118, in async_setup
  198. await self._async_setup_platform(async_create_setup_task)
  199. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 158, in _async_setup_platform
  200. await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  201. File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
  202. return fut.result()
  203. File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
  204. result = self.fn(*self.args, **self.kwargs)
  205. File "/config/custom_components/trakt/sensor.py", line 81, in setup_platform
  206. continue_setup_platform(hass, config, token, add_devices, discovery_info)
  207. File "/config/custom_components/trakt/sensor.py", line 89, in continue_setup_platform
  208. add_devices([TraktUpcomingCalendarSensor(hass, config, token)], True)
  209. File "/config/custom_components/trakt/sensor.py", line 127, in __init__
  210. self.update()
  211. File "/config/custom_components/trakt/sensor.py", line 144, in update
  212. calendar = MyShowCalendar(days=self._days)
  213. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  214. self._get()
  215. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  216. json_data = self._handle_request('get', url)
  217. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  218. raise self.error_map[response.status_code]()
  219. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  220.  
  221. During handling of the above exception, another exception occurred:
  222.  
  223. Traceback (most recent call last):
  224. File "/usr/src/homeassistant/homeassistant/setup.py", line 170, in _async_setup_component
  225. hass, processed_config
  226. File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 53, in async_setup
  227. await component.async_setup(config)
  228. File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 117, in async_setup
  229. await asyncio.wait(tasks)
  230. File "/usr/local/lib/python3.7/asyncio/tasks.py", line 389, in wait
  231. return await _wait(fs, timeout, return_when, loop)
  232. File "/usr/local/lib/python3.7/asyncio/tasks.py", line 482, in _wait
  233. await waiter
  234. concurrent.futures._base.CancelledError
  235. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d00034d003e/illuminance/config': '{"unit_of_measurement":"lx","device_class":"illuminance","value_template":"{{ value_json.illuminance }}","state_topic":"zigbee2mqtt/0x00158d00034d003e","json_attributes_topic":"zigbee2mqtt/0x00158d00034d003e","name":"0x00158d00034d003e_illuminance","unique_id":"0x00158d00034d003e_illuminance_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d00034d003e"],"name":"0x00158d00034d003e","sw_version":"Zigbee2mqtt 1.7.1","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  236. Traceback (most recent call last):
  237. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  238. self._get()
  239. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  240. json_data = self._handle_request('get', url)
  241. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  242. raise self.error_map[response.status_code]()
  243. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  244.  
  245. During handling of the above exception, another exception occurred:
  246.  
  247. Traceback (most recent call last):
  248. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  249. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  250. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  251. await self.acquire()
  252. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  253. await fut
  254. concurrent.futures._base.CancelledError
  255.  
  256. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d0003cb7d23/temperature/config': '{"unit_of_measurement":"°C","device_class":"temperature","value_template":"{{ value_json.temperature }}","state_topic":"zigbee2mqtt/0x00158d0003cb7d23","json_attributes_topic":"zigbee2mqtt/0x00158d0003cb7d23","name":"0x00158d0003cb7d23_temperature","unique_id":"0x00158d0003cb7d23_temperature_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d0003cb7d23"],"name":"0x00158d0003cb7d23","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  257. Traceback (most recent call last):
  258. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  259. self._get()
  260. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  261. json_data = self._handle_request('get', url)
  262. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  263. raise self.error_map[response.status_code]()
  264. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  265.  
  266. During handling of the above exception, another exception occurred:
  267.  
  268. Traceback (most recent call last):
  269. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  270. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  271. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  272. await self.acquire()
  273. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  274. await fut
  275. concurrent.futures._base.CancelledError
  276.  
  277. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform pushbullet
  278. Traceback (most recent call last):
  279. File "/usr/local/lib/python3.7/asyncio/runners.py", line 43, in run
  280. return loop.run_until_complete(main)
  281. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 570, in run_until_complete
  282. self.run_forever()
  283. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 538, in run_forever
  284. self._run_once()
  285. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 1782, in _run_once
  286. handle._run()
  287. File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
  288. self._context.run(self._callback, *self._args)
  289. File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 233, in async_setup_platform
  290. await self._platforms[key].async_setup(platform_config, discovery_info)
  291. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 118, in async_setup
  292. await self._async_setup_platform(async_create_setup_task)
  293. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 158, in _async_setup_platform
  294. await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  295. File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
  296. return fut.result()
  297. File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
  298. result = self.fn(*self.args, **self.kwargs)
  299. File "/config/custom_components/trakt/sensor.py", line 81, in setup_platform
  300. continue_setup_platform(hass, config, token, add_devices, discovery_info)
  301. File "/config/custom_components/trakt/sensor.py", line 89, in continue_setup_platform
  302. add_devices([TraktUpcomingCalendarSensor(hass, config, token)], True)
  303. File "/config/custom_components/trakt/sensor.py", line 127, in __init__
  304. self.update()
  305. File "/config/custom_components/trakt/sensor.py", line 144, in update
  306. calendar = MyShowCalendar(days=self._days)
  307. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  308. self._get()
  309. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  310. json_data = self._handle_request('get', url)
  311. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  312. raise self.error_map[response.status_code]()
  313. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  314.  
  315. During handling of the above exception, another exception occurred:
  316.  
  317. Traceback (most recent call last):
  318. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 158, in _async_setup_platform
  319. await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  320. File "/usr/local/lib/python3.7/asyncio/tasks.py", line 435, in wait_for
  321. await waiter
  322. concurrent.futures._base.CancelledError
  323. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d000316c9af/linkquality/config': '{"unit_of_measurement":"-","value_template":"{{ value_json.linkquality }}","state_topic":"zigbee2mqtt/0x00158d000316c9af","json_attributes_topic":"zigbee2mqtt/0x00158d000316c9af","name":"0x00158d000316c9af_linkquality","unique_id":"0x00158d000316c9af_linkquality_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d000316c9af"],"name":"0x00158d000316c9af","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia human body movement sensor (RTCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  324. Traceback (most recent call last):
  325. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  326. self._get()
  327. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  328. json_data = self._handle_request('get', url)
  329. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  330. raise self.error_map[response.status_code]()
  331. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  332.  
  333. During handling of the above exception, another exception occurred:
  334.  
  335. Traceback (most recent call last):
  336. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  337. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  338. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  339. await self.acquire()
  340. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  341. await fut
  342. concurrent.futures._base.CancelledError
  343.  
  344. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d0003cb7d23/linkquality/config': '{"unit_of_measurement":"-","value_template":"{{ value_json.linkquality }}","state_topic":"zigbee2mqtt/0x00158d0003cb7d23","json_attributes_topic":"zigbee2mqtt/0x00158d0003cb7d23","name":"0x00158d0003cb7d23_linkquality","unique_id":"0x00158d0003cb7d23_linkquality_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d0003cb7d23"],"name":"0x00158d0003cb7d23","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  345. Traceback (most recent call last):
  346. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  347. self._get()
  348. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  349. json_data = self._handle_request('get', url)
  350. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  351. raise self.error_map[response.status_code]()
  352. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  353.  
  354. During handling of the above exception, another exception occurred:
  355.  
  356. Traceback (most recent call last):
  357. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  358. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  359. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  360. await self.acquire()
  361. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  362. await fut
  363. concurrent.futures._base.CancelledError
  364.  
  365. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform qnap
  366. Traceback (most recent call last):
  367. File "/usr/local/lib/python3.7/asyncio/runners.py", line 43, in run
  368. return loop.run_until_complete(main)
  369. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 570, in run_until_complete
  370. self.run_forever()
  371. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 538, in run_forever
  372. self._run_once()
  373. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 1782, in _run_once
  374. handle._run()
  375. File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
  376. self._context.run(self._callback, *self._args)
  377. File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 233, in async_setup_platform
  378. await self._platforms[key].async_setup(platform_config, discovery_info)
  379. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 118, in async_setup
  380. await self._async_setup_platform(async_create_setup_task)
  381. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 158, in _async_setup_platform
  382. await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  383. File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
  384. return fut.result()
  385. File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
  386. result = self.fn(*self.args, **self.kwargs)
  387. File "/config/custom_components/trakt/sensor.py", line 81, in setup_platform
  388. continue_setup_platform(hass, config, token, add_devices, discovery_info)
  389. File "/config/custom_components/trakt/sensor.py", line 89, in continue_setup_platform
  390. add_devices([TraktUpcomingCalendarSensor(hass, config, token)], True)
  391. File "/config/custom_components/trakt/sensor.py", line 127, in __init__
  392. self.update()
  393. File "/config/custom_components/trakt/sensor.py", line 144, in update
  394. calendar = MyShowCalendar(days=self._days)
  395. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  396. self._get()
  397. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  398. json_data = self._handle_request('get', url)
  399. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  400. raise self.error_map[response.status_code]()
  401. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  402.  
  403. During handling of the above exception, another exception occurred:
  404.  
  405. Traceback (most recent call last):
  406. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 158, in _async_setup_platform
  407. await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  408. File "/usr/local/lib/python3.7/asyncio/tasks.py", line 435, in wait_for
  409. await waiter
  410. concurrent.futures._base.CancelledError
  411. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x000d6ffffe2ac296/linkquality/config': '{"unit_of_measurement":"-","value_template":"{{ value_json.linkquality }}","state_topic":"zigbee2mqtt/0x000d6ffffe2ac296","json_attributes_topic":"zigbee2mqtt/0x000d6ffffe2ac296","name":"0x000d6ffffe2ac296_linkquality","unique_id":"0x000d6ffffe2ac296_linkquality_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x000d6ffffe2ac296"],"name":"0x000d6ffffe2ac296","sw_version":"Zigbee2mqtt 1.7.1","model":"TRADFRI wireless dimmer (ICTC-G-1)","manufacturer":"IKEA"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  412. Traceback (most recent call last):
  413. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  414. self._get()
  415. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  416. json_data = self._handle_request('get', url)
  417. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  418. raise self.error_map[response.status_code]()
  419. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  420.  
  421. During handling of the above exception, another exception occurred:
  422.  
  423. Traceback (most recent call last):
  424. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  425. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  426. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  427. await self.acquire()
  428. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  429. await fut
  430. concurrent.futures._base.CancelledError
  431.  
  432. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d000316c9af/battery/config': '{"unit_of_measurement":"%","device_class":"battery","value_template":"{{ value_json.battery }}","state_topic":"zigbee2mqtt/0x00158d000316c9af","json_attributes_topic":"zigbee2mqtt/0x00158d000316c9af","name":"0x00158d000316c9af_battery","unique_id":"0x00158d000316c9af_battery_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d000316c9af"],"name":"0x00158d000316c9af","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia human body movement sensor (RTCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  433. Traceback (most recent call last):
  434. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  435. self._get()
  436. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  437. json_data = self._handle_request('get', url)
  438. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  439. raise self.error_map[response.status_code]()
  440. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  441.  
  442. During handling of the above exception, another exception occurred:
  443.  
  444. Traceback (most recent call last):
  445. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  446. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  447. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  448. await self.acquire()
  449. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  450. await fut
  451. concurrent.futures._base.CancelledError
  452.  
  453. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/light/0x086bd7fffe010ffc/light/config': '{"brightness":true,"schema":"json","command_topic":"zigbee2mqtt/0x086bd7fffe010ffc/set","state_topic":"zigbee2mqtt/0x086bd7fffe010ffc","name":"0x086bd7fffe010ffc_light","unique_id":"0x086bd7fffe010ffc_light_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x086bd7fffe010ffc"],"name":"0x086bd7fffe010ffc","sw_version":"Zigbee2mqtt 1.7.1","model":"TRADFRI LED bulb E27 1000 lumen, dimmable, opal white (LED1623G12)","manufacturer":"IKEA"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  454. Traceback (most recent call last):
  455. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  456. self._get()
  457. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  458. json_data = self._handle_request('get', url)
  459. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  460. raise self.error_map[response.status_code]()
  461. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  462.  
  463. During handling of the above exception, another exception occurred:
  464.  
  465. Traceback (most recent call last):
  466. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  467. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  468. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  469. await self.acquire()
  470. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  471. await fut
  472. concurrent.futures._base.CancelledError
  473.  
  474. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d00034039aa/linkquality/config': '{"unit_of_measurement":"-","value_template":"{{ value_json.linkquality }}","state_topic":"zigbee2mqtt/0x00158d00034039aa","json_attributes_topic":"zigbee2mqtt/0x00158d00034039aa","name":"0x00158d00034039aa_linkquality","unique_id":"0x00158d00034039aa_linkquality_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d00034039aa"],"name":"0x00158d00034039aa","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia wireless switch (WXKG01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  475. Traceback (most recent call last):
  476. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  477. self._get()
  478. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  479. json_data = self._handle_request('get', url)
  480. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  481. raise self.error_map[response.status_code]()
  482. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  483.  
  484. During handling of the above exception, another exception occurred:
  485.  
  486. Traceback (most recent call last):
  487. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  488. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  489. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  490. await self.acquire()
  491. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  492. await fut
  493. concurrent.futures._base.CancelledError
  494.  
  495. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d0003cb7d23/humidity/config': '{"unit_of_measurement":"%","device_class":"humidity","value_template":"{{ value_json.humidity }}","state_topic":"zigbee2mqtt/0x00158d0003cb7d23","json_attributes_topic":"zigbee2mqtt/0x00158d0003cb7d23","name":"0x00158d0003cb7d23_humidity","unique_id":"0x00158d0003cb7d23_humidity_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d0003cb7d23"],"name":"0x00158d0003cb7d23","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  496. Traceback (most recent call last):
  497. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  498. self._get()
  499. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  500. json_data = self._handle_request('get', url)
  501. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  502. raise self.error_map[response.status_code]()
  503. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  504.  
  505. During handling of the above exception, another exception occurred:
  506.  
  507. Traceback (most recent call last):
  508. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  509. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  510. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  511. await self.acquire()
  512. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  513. await fut
  514. concurrent.futures._base.CancelledError
  515.  
  516. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/binary_sensor/0x00158d00034d003e/occupancy/config': '{"payload_on":true,"payload_off":false,"value_template":"{{ value_json.occupancy }}","device_class":"motion","state_topic":"zigbee2mqtt/0x00158d00034d003e","json_attributes_topic":"zigbee2mqtt/0x00158d00034d003e","name":"0x00158d00034d003e_occupancy","unique_id":"0x00158d00034d003e_occupancy_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d00034d003e"],"name":"0x00158d00034d003e","sw_version":"Zigbee2mqtt 1.7.1","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  517. Traceback (most recent call last):
  518. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  519. self._get()
  520. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  521. json_data = self._handle_request('get', url)
  522. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  523. raise self.error_map[response.status_code]()
  524. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  525.  
  526. During handling of the above exception, another exception occurred:
  527.  
  528. Traceback (most recent call last):
  529. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  530. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  531. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  532. await self.acquire()
  533. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  534. await fut
  535. concurrent.futures._base.CancelledError
  536.  
  537. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d00034039aa/battery/config': '{"unit_of_measurement":"%","device_class":"battery","value_template":"{{ value_json.battery }}","state_topic":"zigbee2mqtt/0x00158d00034039aa","json_attributes_topic":"zigbee2mqtt/0x00158d00034039aa","name":"0x00158d00034039aa_battery","unique_id":"0x00158d00034039aa_battery_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d00034039aa"],"name":"0x00158d00034039aa","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia wireless switch (WXKG01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  538. Traceback (most recent call last):
  539. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  540. self._get()
  541. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  542. json_data = self._handle_request('get', url)
  543. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  544. raise self.error_map[response.status_code]()
  545. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  546.  
  547. During handling of the above exception, another exception occurred:
  548.  
  549. Traceback (most recent call last):
  550. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  551. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  552. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  553. await self.acquire()
  554. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  555. await fut
  556. concurrent.futures._base.CancelledError
  557.  
  558. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.setup] Error during setup of component alarm_control_panel
  559. Traceback (most recent call last):
  560. File "/usr/local/lib/python3.7/asyncio/runners.py", line 43, in run
  561. return loop.run_until_complete(main)
  562. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 570, in run_until_complete
  563. self.run_forever()
  564. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 538, in run_forever
  565. self._run_once()
  566. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 1782, in _run_once
  567. handle._run()
  568. File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
  569. self._context.run(self._callback, *self._args)
  570. File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 233, in async_setup_platform
  571. await self._platforms[key].async_setup(platform_config, discovery_info)
  572. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 118, in async_setup
  573. await self._async_setup_platform(async_create_setup_task)
  574. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 158, in _async_setup_platform
  575. await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  576. File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
  577. return fut.result()
  578. File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
  579. result = self.fn(*self.args, **self.kwargs)
  580. File "/config/custom_components/trakt/sensor.py", line 81, in setup_platform
  581. continue_setup_platform(hass, config, token, add_devices, discovery_info)
  582. File "/config/custom_components/trakt/sensor.py", line 89, in continue_setup_platform
  583. add_devices([TraktUpcomingCalendarSensor(hass, config, token)], True)
  584. File "/config/custom_components/trakt/sensor.py", line 127, in __init__
  585. self.update()
  586. File "/config/custom_components/trakt/sensor.py", line 144, in update
  587. calendar = MyShowCalendar(days=self._days)
  588. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  589. self._get()
  590. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  591. json_data = self._handle_request('get', url)
  592. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  593. raise self.error_map[response.status_code]()
  594. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  595.  
  596. During handling of the above exception, another exception occurred:
  597.  
  598. Traceback (most recent call last):
  599. File "/usr/src/homeassistant/homeassistant/setup.py", line 170, in _async_setup_component
  600. hass, processed_config
  601. File "/usr/src/homeassistant/homeassistant/components/alarm_control_panel/__init__.py", line 53, in async_setup
  602. await component.async_setup(config)
  603. File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 117, in async_setup
  604. await asyncio.wait(tasks)
  605. File "/usr/local/lib/python3.7/asyncio/tasks.py", line 389, in wait
  606. return await _wait(fs, timeout, return_when, loop)
  607. File "/usr/local/lib/python3.7/asyncio/tasks.py", line 482, in _wait
  608. await waiter
  609. concurrent.futures._base.CancelledError
  610. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x000d6ffffe2ac296/action/config': '{"icon":"mdi:gesture-double-tap","value_template":"{{ value_json.action }}","state_topic":"zigbee2mqtt/0x000d6ffffe2ac296","json_attributes_topic":"zigbee2mqtt/0x000d6ffffe2ac296","name":"0x000d6ffffe2ac296_action","unique_id":"0x000d6ffffe2ac296_action_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x000d6ffffe2ac296"],"name":"0x000d6ffffe2ac296","sw_version":"Zigbee2mqtt 1.7.1","model":"TRADFRI wireless dimmer (ICTC-G-1)","manufacturer":"IKEA"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  611. Traceback (most recent call last):
  612. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  613. self._get()
  614. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  615. json_data = self._handle_request('get', url)
  616. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  617. raise self.error_map[response.status_code]()
  618. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  619.  
  620. During handling of the above exception, another exception occurred:
  621.  
  622. Traceback (most recent call last):
  623. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  624. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  625. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  626. await self.acquire()
  627. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  628. await fut
  629. concurrent.futures._base.CancelledError
  630.  
  631. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d00034039aa/click/config': '{"icon":"mdi:toggle-switch","value_template":"{{ value_json.click }}","state_topic":"zigbee2mqtt/0x00158d00034039aa","json_attributes_topic":"zigbee2mqtt/0x00158d00034039aa","name":"0x00158d00034039aa_click","unique_id":"0x00158d00034039aa_click_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d00034039aa"],"name":"0x00158d00034039aa","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia wireless switch (WXKG01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  632. Traceback (most recent call last):
  633. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  634. self._get()
  635. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  636. json_data = self._handle_request('get', url)
  637. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  638. raise self.error_map[response.status_code]()
  639. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  640.  
  641. During handling of the above exception, another exception occurred:
  642.  
  643. Traceback (most recent call last):
  644. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  645. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  646. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  647. await self.acquire()
  648. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  649. await fut
  650. concurrent.futures._base.CancelledError
  651.  
  652. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x000d6ffffe2ac296/battery/config': '{"unit_of_measurement":"%","device_class":"battery","value_template":"{{ value_json.battery }}","state_topic":"zigbee2mqtt/0x000d6ffffe2ac296","json_attributes_topic":"zigbee2mqtt/0x000d6ffffe2ac296","name":"0x000d6ffffe2ac296_battery","unique_id":"0x000d6ffffe2ac296_battery_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x000d6ffffe2ac296"],"name":"0x000d6ffffe2ac296","sw_version":"Zigbee2mqtt 1.7.1","model":"TRADFRI wireless dimmer (ICTC-G-1)","manufacturer":"IKEA"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  653. Traceback (most recent call last):
  654. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  655. self._get()
  656. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  657. json_data = self._handle_request('get', url)
  658. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  659. raise self.error_map[response.status_code]()
  660. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  661.  
  662. During handling of the above exception, another exception occurred:
  663.  
  664. Traceback (most recent call last):
  665. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  666. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  667. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  668. await self.acquire()
  669. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  670. await fut
  671. concurrent.futures._base.CancelledError
  672.  
  673. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/binary_sensor/0x00158d000316c9af/occupancy/config': '{"payload_on":true,"payload_off":false,"value_template":"{{ value_json.occupancy }}","device_class":"motion","state_topic":"zigbee2mqtt/0x00158d000316c9af","json_attributes_topic":"zigbee2mqtt/0x00158d000316c9af","name":"0x00158d000316c9af_occupancy","unique_id":"0x00158d000316c9af_occupancy_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d000316c9af"],"name":"0x00158d000316c9af","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia human body movement sensor (RTCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  674. Traceback (most recent call last):
  675. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  676. self._get()
  677. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  678. json_data = self._handle_request('get', url)
  679. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  680. raise self.error_map[response.status_code]()
  681. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  682.  
  683. During handling of the above exception, another exception occurred:
  684.  
  685. Traceback (most recent call last):
  686. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  687. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  688. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  689. await self.acquire()
  690. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  691. await fut
  692. concurrent.futures._base.CancelledError
  693.  
  694. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d00032d5ee6/linkquality/config': '{"unit_of_measurement":"-","value_template":"{{ value_json.linkquality }}","state_topic":"zigbee2mqtt/0x00158d00032d5ee6","json_attributes_topic":"zigbee2mqtt/0x00158d00032d5ee6","name":"0x00158d00032d5ee6_linkquality","unique_id":"0x00158d00032d5ee6_linkquality_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d00032d5ee6"],"name":"0x00158d00032d5ee6","sw_version":"Zigbee2mqtt 1.7.1","model":"Mi power plug ZigBee (ZNCZ02LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  695. Traceback (most recent call last):
  696. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  697. self._get()
  698. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  699. json_data = self._handle_request('get', url)
  700. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  701. raise self.error_map[response.status_code]()
  702. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  703.  
  704. During handling of the above exception, another exception occurred:
  705.  
  706. Traceback (most recent call last):
  707. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  708. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  709. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  710. await self.acquire()
  711. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  712. await fut
  713. concurrent.futures._base.CancelledError
  714.  
  715. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d00039368f7/linkquality/config': '{"unit_of_measurement":"-","value_template":"{{ value_json.linkquality }}","state_topic":"zigbee2mqtt/0x00158d00039368f7","json_attributes_topic":"zigbee2mqtt/0x00158d00039368f7","name":"0x00158d00039368f7_linkquality","unique_id":"0x00158d00039368f7_linkquality_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d00039368f7"],"name":"0x00158d00039368f7","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  716. Traceback (most recent call last):
  717. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  718. self._get()
  719. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  720. json_data = self._handle_request('get', url)
  721. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  722. raise self.error_map[response.status_code]()
  723. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  724.  
  725. During handling of the above exception, another exception occurred:
  726.  
  727. Traceback (most recent call last):
  728. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  729. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  730. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  731. await self.acquire()
  732. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  733. await fut
  734. concurrent.futures._base.CancelledError
  735.  
  736. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d00032d5ee6/power/config': '{"unit_of_measurement":"W","icon":"mdi:factory","value_template":"{{ value_json.power }}","state_topic":"zigbee2mqtt/0x00158d00032d5ee6","json_attributes_topic":"zigbee2mqtt/0x00158d00032d5ee6","name":"0x00158d00032d5ee6_power","unique_id":"0x00158d00032d5ee6_power_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d00032d5ee6"],"name":"0x00158d00032d5ee6","sw_version":"Zigbee2mqtt 1.7.1","model":"Mi power plug ZigBee (ZNCZ02LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  737. Traceback (most recent call last):
  738. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  739. self._get()
  740. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  741. json_data = self._handle_request('get', url)
  742. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  743. raise self.error_map[response.status_code]()
  744. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  745.  
  746. During handling of the above exception, another exception occurred:
  747.  
  748. Traceback (most recent call last):
  749. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  750. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  751. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  752. await self.acquire()
  753. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  754. await fut
  755. concurrent.futures._base.CancelledError
  756.  
  757. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d00039368f7/battery/config': '{"unit_of_measurement":"%","device_class":"battery","value_template":"{{ value_json.battery }}","state_topic":"zigbee2mqtt/0x00158d00039368f7","json_attributes_topic":"zigbee2mqtt/0x00158d00039368f7","name":"0x00158d00039368f7_battery","unique_id":"0x00158d00039368f7_battery_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d00039368f7"],"name":"0x00158d00039368f7","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  758. Traceback (most recent call last):
  759. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  760. self._get()
  761. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  762. json_data = self._handle_request('get', url)
  763. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  764. raise self.error_map[response.status_code]()
  765. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  766.  
  767. During handling of the above exception, another exception occurred:
  768.  
  769. Traceback (most recent call last):
  770. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  771. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  772. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  773. await self.acquire()
  774. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  775. await fut
  776. concurrent.futures._base.CancelledError
  777.  
  778. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x000d6ffffe2ac296/brightness/config': '{"unit_of_measurement":"brightness","icon":"mdi:brightness-5","value_template":"{{ value_json.brightness }}","state_topic":"zigbee2mqtt/0x000d6ffffe2ac296","json_attributes_topic":"zigbee2mqtt/0x000d6ffffe2ac296","name":"0x000d6ffffe2ac296_brightness","unique_id":"0x000d6ffffe2ac296_brightness_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x000d6ffffe2ac296"],"name":"0x000d6ffffe2ac296","sw_version":"Zigbee2mqtt 1.7.1","model":"TRADFRI wireless dimmer (ICTC-G-1)","manufacturer":"IKEA"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  779. Traceback (most recent call last):
  780. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  781. self._get()
  782. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  783. json_data = self._handle_request('get', url)
  784. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  785. raise self.error_map[response.status_code]()
  786. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  787.  
  788. During handling of the above exception, another exception occurred:
  789.  
  790. Traceback (most recent call last):
  791. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  792. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  793. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  794. await self.acquire()
  795. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  796. await fut
  797. concurrent.futures._base.CancelledError
  798.  
  799. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry AaronS-PC for plex
  800. Traceback (most recent call last):
  801. File "/usr/local/lib/python3.7/asyncio/runners.py", line 43, in run
  802. return loop.run_until_complete(main)
  803. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 570, in run_until_complete
  804. self.run_forever()
  805. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 538, in run_forever
  806. self._run_once()
  807. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 1782, in _run_once
  808. handle._run()
  809. File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
  810. self._context.run(self._callback, *self._args)
  811. File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 233, in async_setup_platform
  812. await self._platforms[key].async_setup(platform_config, discovery_info)
  813. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 118, in async_setup
  814. await self._async_setup_platform(async_create_setup_task)
  815. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 158, in _async_setup_platform
  816. await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  817. File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
  818. return fut.result()
  819. File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
  820. result = self.fn(*self.args, **self.kwargs)
  821. File "/config/custom_components/trakt/sensor.py", line 81, in setup_platform
  822. continue_setup_platform(hass, config, token, add_devices, discovery_info)
  823. File "/config/custom_components/trakt/sensor.py", line 89, in continue_setup_platform
  824. add_devices([TraktUpcomingCalendarSensor(hass, config, token)], True)
  825. File "/config/custom_components/trakt/sensor.py", line 127, in __init__
  826. self.update()
  827. File "/config/custom_components/trakt/sensor.py", line 144, in update
  828. calendar = MyShowCalendar(days=self._days)
  829. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  830. self._get()
  831. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  832. json_data = self._handle_request('get', url)
  833. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  834. raise self.error_map[response.status_code]()
  835. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  836.  
  837. During handling of the above exception, another exception occurred:
  838.  
  839. Traceback (most recent call last):
  840. File "/usr/src/homeassistant/homeassistant/config_entries.py", line 215, in async_setup
  841. hass, self
  842. File "/usr/src/homeassistant/homeassistant/components/plex/__init__.py", line 123, in async_setup_entry
  843. await hass.async_add_executor_job(plex_server.connect)
  844. concurrent.futures._base.CancelledError
  845. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d000391cd1e/temperature/config': '{"unit_of_measurement":"°C","device_class":"temperature","value_template":"{{ value_json.temperature }}","state_topic":"zigbee2mqtt/0x00158d000391cd1e","json_attributes_topic":"zigbee2mqtt/0x00158d000391cd1e","name":"0x00158d000391cd1e_temperature","unique_id":"0x00158d000391cd1e_temperature_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d000391cd1e"],"name":"0x00158d000391cd1e","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  846. Traceback (most recent call last):
  847. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  848. self._get()
  849. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  850. json_data = self._handle_request('get', url)
  851. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  852. raise self.error_map[response.status_code]()
  853. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  854.  
  855. During handling of the above exception, another exception occurred:
  856.  
  857. Traceback (most recent call last):
  858. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  859. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  860. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  861. await self.acquire()
  862. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  863. await fut
  864. concurrent.futures._base.CancelledError
  865.  
  866. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d0003585a34/linkquality/config': '{"unit_of_measurement":"-","value_template":"{{ value_json.linkquality }}","state_topic":"zigbee2mqtt/0x00158d0003585a34","json_attributes_topic":"zigbee2mqtt/0x00158d0003585a34","name":"0x00158d0003585a34_linkquality","unique_id":"0x00158d0003585a34_linkquality_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d0003585a34"],"name":"0x00158d0003585a34","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  867. Traceback (most recent call last):
  868. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  869. self._get()
  870. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  871. json_data = self._handle_request('get', url)
  872. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  873. raise self.error_map[response.status_code]()
  874. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  875.  
  876. During handling of the above exception, another exception occurred:
  877.  
  878. Traceback (most recent call last):
  879. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  880. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  881. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  882. await self.acquire()
  883. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  884. await fut
  885. concurrent.futures._base.CancelledError
  886.  
  887. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.components.alarm_control_panel] Error while setting up platform alarmdotcom
  888. Traceback (most recent call last):
  889. File "/usr/local/lib/python3.7/asyncio/runners.py", line 43, in run
  890. return loop.run_until_complete(main)
  891. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 570, in run_until_complete
  892. self.run_forever()
  893. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 538, in run_forever
  894. self._run_once()
  895. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 1782, in _run_once
  896. handle._run()
  897. File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
  898. self._context.run(self._callback, *self._args)
  899. File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 233, in async_setup_platform
  900. await self._platforms[key].async_setup(platform_config, discovery_info)
  901. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 118, in async_setup
  902. await self._async_setup_platform(async_create_setup_task)
  903. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 158, in _async_setup_platform
  904. await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  905. File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
  906. return fut.result()
  907. File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
  908. result = self.fn(*self.args, **self.kwargs)
  909. File "/config/custom_components/trakt/sensor.py", line 81, in setup_platform
  910. continue_setup_platform(hass, config, token, add_devices, discovery_info)
  911. File "/config/custom_components/trakt/sensor.py", line 89, in continue_setup_platform
  912. add_devices([TraktUpcomingCalendarSensor(hass, config, token)], True)
  913. File "/config/custom_components/trakt/sensor.py", line 127, in __init__
  914. self.update()
  915. File "/config/custom_components/trakt/sensor.py", line 144, in update
  916. calendar = MyShowCalendar(days=self._days)
  917. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  918. self._get()
  919. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  920. json_data = self._handle_request('get', url)
  921. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  922. raise self.error_map[response.status_code]()
  923. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  924.  
  925. During handling of the above exception, another exception occurred:
  926.  
  927. Traceback (most recent call last):
  928. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 158, in _async_setup_platform
  929. await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  930. File "/usr/local/lib/python3.7/asyncio/tasks.py", line 435, in wait_for
  931. await waiter
  932. concurrent.futures._base.CancelledError
  933. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d0003585a34/battery/config': '{"unit_of_measurement":"%","device_class":"battery","value_template":"{{ value_json.battery }}","state_topic":"zigbee2mqtt/0x00158d0003585a34","json_attributes_topic":"zigbee2mqtt/0x00158d0003585a34","name":"0x00158d0003585a34_battery","unique_id":"0x00158d0003585a34_battery_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d0003585a34"],"name":"0x00158d0003585a34","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  934. Traceback (most recent call last):
  935. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  936. self._get()
  937. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  938. json_data = self._handle_request('get', url)
  939. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  940. raise self.error_map[response.status_code]()
  941. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  942.  
  943. During handling of the above exception, another exception occurred:
  944.  
  945. Traceback (most recent call last):
  946. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  947. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  948. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  949. await self.acquire()
  950. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  951. await fut
  952. concurrent.futures._base.CancelledError
  953.  
  954. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d00039368f7/humidity/config': '{"unit_of_measurement":"%","device_class":"humidity","value_template":"{{ value_json.humidity }}","state_topic":"zigbee2mqtt/0x00158d00039368f7","json_attributes_topic":"zigbee2mqtt/0x00158d00039368f7","name":"0x00158d00039368f7_humidity","unique_id":"0x00158d00039368f7_humidity_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d00039368f7"],"name":"0x00158d00039368f7","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  955. Traceback (most recent call last):
  956. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  957. self._get()
  958. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  959. json_data = self._handle_request('get', url)
  960. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  961. raise self.error_map[response.status_code]()
  962. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  963.  
  964. During handling of the above exception, another exception occurred:
  965.  
  966. Traceback (most recent call last):
  967. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  968. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  969. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  970. await self.acquire()
  971. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  972. await fut
  973. concurrent.futures._base.CancelledError
  974.  
  975. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d000391cd1e/humidity/config': '{"unit_of_measurement":"%","device_class":"humidity","value_template":"{{ value_json.humidity }}","state_topic":"zigbee2mqtt/0x00158d000391cd1e","json_attributes_topic":"zigbee2mqtt/0x00158d000391cd1e","name":"0x00158d000391cd1e_humidity","unique_id":"0x00158d000391cd1e_humidity_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d000391cd1e"],"name":"0x00158d000391cd1e","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  976. Traceback (most recent call last):
  977. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  978. self._get()
  979. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  980. json_data = self._handle_request('get', url)
  981. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  982. raise self.error_map[response.status_code]()
  983. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  984.  
  985. During handling of the above exception, another exception occurred:
  986.  
  987. Traceback (most recent call last):
  988. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  989. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  990. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  991. await self.acquire()
  992. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  993. await fut
  994. concurrent.futures._base.CancelledError
  995.  
  996. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform feedparser
  997. Traceback (most recent call last):
  998. File "/usr/local/lib/python3.7/asyncio/runners.py", line 43, in run
  999. return loop.run_until_complete(main)
  1000. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 570, in run_until_complete
  1001. self.run_forever()
  1002. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 538, in run_forever
  1003. self._run_once()
  1004. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 1782, in _run_once
  1005. handle._run()
  1006. File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
  1007. self._context.run(self._callback, *self._args)
  1008. File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 233, in async_setup_platform
  1009. await self._platforms[key].async_setup(platform_config, discovery_info)
  1010. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 118, in async_setup
  1011. await self._async_setup_platform(async_create_setup_task)
  1012. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 158, in _async_setup_platform
  1013. await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  1014. File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
  1015. return fut.result()
  1016. File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
  1017. result = self.fn(*self.args, **self.kwargs)
  1018. File "/config/custom_components/trakt/sensor.py", line 81, in setup_platform
  1019. continue_setup_platform(hass, config, token, add_devices, discovery_info)
  1020. File "/config/custom_components/trakt/sensor.py", line 89, in continue_setup_platform
  1021. add_devices([TraktUpcomingCalendarSensor(hass, config, token)], True)
  1022. File "/config/custom_components/trakt/sensor.py", line 127, in __init__
  1023. self.update()
  1024. File "/config/custom_components/trakt/sensor.py", line 144, in update
  1025. calendar = MyShowCalendar(days=self._days)
  1026. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  1027. self._get()
  1028. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  1029. json_data = self._handle_request('get', url)
  1030. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  1031. raise self.error_map[response.status_code]()
  1032. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  1033.  
  1034. During handling of the above exception, another exception occurred:
  1035.  
  1036. Traceback (most recent call last):
  1037. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 158, in _async_setup_platform
  1038. await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  1039. File "/usr/local/lib/python3.7/asyncio/tasks.py", line 435, in wait_for
  1040. await waiter
  1041. concurrent.futures._base.CancelledError
  1042. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d0003585a34/humidity/config': '{"unit_of_measurement":"%","device_class":"humidity","value_template":"{{ value_json.humidity }}","state_topic":"zigbee2mqtt/0x00158d0003585a34","json_attributes_topic":"zigbee2mqtt/0x00158d0003585a34","name":"0x00158d0003585a34_humidity","unique_id":"0x00158d0003585a34_humidity_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d0003585a34"],"name":"0x00158d0003585a34","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  1043. Traceback (most recent call last):
  1044. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  1045. self._get()
  1046. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  1047. json_data = self._handle_request('get', url)
  1048. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  1049. raise self.error_map[response.status_code]()
  1050. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  1051.  
  1052. During handling of the above exception, another exception occurred:
  1053.  
  1054. Traceback (most recent call last):
  1055. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  1056. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  1057. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  1058. await self.acquire()
  1059. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  1060. await fut
  1061. concurrent.futures._base.CancelledError
  1062.  
  1063. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d0003cb8884/battery/config': '{"unit_of_measurement":"%","device_class":"battery","value_template":"{{ value_json.battery }}","state_topic":"zigbee2mqtt/0x00158d0003cb8884","json_attributes_topic":"zigbee2mqtt/0x00158d0003cb8884","name":"0x00158d0003cb8884_battery","unique_id":"0x00158d0003cb8884_battery_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d0003cb8884"],"name":"0x00158d0003cb8884","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  1064. Traceback (most recent call last):
  1065. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  1066. self._get()
  1067. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  1068. json_data = self._handle_request('get', url)
  1069. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  1070. raise self.error_map[response.status_code]()
  1071. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  1072.  
  1073. During handling of the above exception, another exception occurred:
  1074.  
  1075. Traceback (most recent call last):
  1076. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  1077. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  1078. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  1079. await self.acquire()
  1080. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  1081. await fut
  1082. concurrent.futures._base.CancelledError
  1083.  
  1084. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d0003585a34/temperature/config': '{"unit_of_measurement":"°C","device_class":"temperature","value_template":"{{ value_json.temperature }}","state_topic":"zigbee2mqtt/0x00158d0003585a34","json_attributes_topic":"zigbee2mqtt/0x00158d0003585a34","name":"0x00158d0003585a34_temperature","unique_id":"0x00158d0003585a34_temperature_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d0003585a34"],"name":"0x00158d0003585a34","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  1085. Traceback (most recent call last):
  1086. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  1087. self._get()
  1088. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  1089. json_data = self._handle_request('get', url)
  1090. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  1091. raise self.error_map[response.status_code]()
  1092. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  1093.  
  1094. During handling of the above exception, another exception occurred:
  1095.  
  1096. Traceback (most recent call last):
  1097. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  1098. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  1099. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  1100. await self.acquire()
  1101. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  1102. await fut
  1103. concurrent.futures._base.CancelledError
  1104.  
  1105. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d0003a00223/linkquality/config': '{"unit_of_measurement":"-","value_template":"{{ value_json.linkquality }}","state_topic":"zigbee2mqtt/0x00158d0003a00223","json_attributes_topic":"zigbee2mqtt/0x00158d0003a00223","name":"0x00158d0003a00223_linkquality","unique_id":"0x00158d0003a00223_linkquality_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d0003a00223"],"name":"0x00158d0003a00223","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  1106. Traceback (most recent call last):
  1107. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  1108. self._get()
  1109. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  1110. json_data = self._handle_request('get', url)
  1111. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  1112. raise self.error_map[response.status_code]()
  1113. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  1114.  
  1115. During handling of the above exception, another exception occurred:
  1116.  
  1117. Traceback (most recent call last):
  1118. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  1119. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  1120. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  1121. await self.acquire()
  1122. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  1123. await fut
  1124. concurrent.futures._base.CancelledError
  1125.  
  1126. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d000391cd1e/linkquality/config': '{"unit_of_measurement":"-","value_template":"{{ value_json.linkquality }}","state_topic":"zigbee2mqtt/0x00158d000391cd1e","json_attributes_topic":"zigbee2mqtt/0x00158d000391cd1e","name":"0x00158d000391cd1e_linkquality","unique_id":"0x00158d000391cd1e_linkquality_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d000391cd1e"],"name":"0x00158d000391cd1e","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  1127. Traceback (most recent call last):
  1128. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  1129. self._get()
  1130. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  1131. json_data = self._handle_request('get', url)
  1132. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  1133. raise self.error_map[response.status_code]()
  1134. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  1135.  
  1136. During handling of the above exception, another exception occurred:
  1137.  
  1138. Traceback (most recent call last):
  1139. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  1140. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  1141. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  1142. await self.acquire()
  1143. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  1144. await fut
  1145. concurrent.futures._base.CancelledError
  1146.  
  1147. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d000391cd1e/battery/config': '{"unit_of_measurement":"%","device_class":"battery","value_template":"{{ value_json.battery }}","state_topic":"zigbee2mqtt/0x00158d000391cd1e","json_attributes_topic":"zigbee2mqtt/0x00158d000391cd1e","name":"0x00158d000391cd1e_battery","unique_id":"0x00158d000391cd1e_battery_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d000391cd1e"],"name":"0x00158d000391cd1e","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  1148. Traceback (most recent call last):
  1149. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  1150. self._get()
  1151. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  1152. json_data = self._handle_request('get', url)
  1153. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  1154. raise self.error_map[response.status_code]()
  1155. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  1156.  
  1157. During handling of the above exception, another exception occurred:
  1158.  
  1159. Traceback (most recent call last):
  1160. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  1161. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  1162. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  1163. await self.acquire()
  1164. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  1165. await fut
  1166. concurrent.futures._base.CancelledError
  1167.  
  1168. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d0003a00223/humidity/config': '{"unit_of_measurement":"%","device_class":"humidity","value_template":"{{ value_json.humidity }}","state_topic":"zigbee2mqtt/0x00158d0003a00223","json_attributes_topic":"zigbee2mqtt/0x00158d0003a00223","name":"0x00158d0003a00223_humidity","unique_id":"0x00158d0003a00223_humidity_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d0003a00223"],"name":"0x00158d0003a00223","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  1169. Traceback (most recent call last):
  1170. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  1171. self._get()
  1172. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  1173. json_data = self._handle_request('get', url)
  1174. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  1175. raise self.error_map[response.status_code]()
  1176. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  1177.  
  1178. During handling of the above exception, another exception occurred:
  1179.  
  1180. Traceback (most recent call last):
  1181. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  1182. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  1183. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  1184. await self.acquire()
  1185. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  1186. await fut
  1187. concurrent.futures._base.CancelledError
  1188.  
  1189. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.components.weather] Error while setting up platform met
  1190. Traceback (most recent call last):
  1191. File "/usr/local/lib/python3.7/asyncio/runners.py", line 43, in run
  1192. return loop.run_until_complete(main)
  1193. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 570, in run_until_complete
  1194. self.run_forever()
  1195. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 538, in run_forever
  1196. self._run_once()
  1197. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 1782, in _run_once
  1198. handle._run()
  1199. File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
  1200. self._context.run(self._callback, *self._args)
  1201. File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 233, in async_setup_platform
  1202. await self._platforms[key].async_setup(platform_config, discovery_info)
  1203. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 118, in async_setup
  1204. await self._async_setup_platform(async_create_setup_task)
  1205. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 158, in _async_setup_platform
  1206. await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  1207. File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
  1208. return fut.result()
  1209. File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
  1210. result = self.fn(*self.args, **self.kwargs)
  1211. File "/config/custom_components/trakt/sensor.py", line 81, in setup_platform
  1212. continue_setup_platform(hass, config, token, add_devices, discovery_info)
  1213. File "/config/custom_components/trakt/sensor.py", line 89, in continue_setup_platform
  1214. add_devices([TraktUpcomingCalendarSensor(hass, config, token)], True)
  1215. File "/config/custom_components/trakt/sensor.py", line 127, in __init__
  1216. self.update()
  1217. File "/config/custom_components/trakt/sensor.py", line 144, in update
  1218. calendar = MyShowCalendar(days=self._days)
  1219. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  1220. self._get()
  1221. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  1222. json_data = self._handle_request('get', url)
  1223. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  1224. raise self.error_map[response.status_code]()
  1225. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  1226.  
  1227. During handling of the above exception, another exception occurred:
  1228.  
  1229. Traceback (most recent call last):
  1230. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 166, in _async_setup_platform
  1231. await asyncio.wait(pending)
  1232. File "/usr/local/lib/python3.7/asyncio/tasks.py", line 389, in wait
  1233. return await _wait(fs, timeout, return_when, loop)
  1234. File "/usr/local/lib/python3.7/asyncio/tasks.py", line 482, in _wait
  1235. await waiter
  1236. concurrent.futures._base.CancelledError
  1237. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d0003a00223/battery/config': '{"unit_of_measurement":"%","device_class":"battery","value_template":"{{ value_json.battery }}","state_topic":"zigbee2mqtt/0x00158d0003a00223","json_attributes_topic":"zigbee2mqtt/0x00158d0003a00223","name":"0x00158d0003a00223_battery","unique_id":"0x00158d0003a00223_battery_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d0003a00223"],"name":"0x00158d0003a00223","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  1238. Traceback (most recent call last):
  1239. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  1240. self._get()
  1241. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  1242. json_data = self._handle_request('get', url)
  1243. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  1244. raise self.error_map[response.status_code]()
  1245. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  1246.  
  1247. During handling of the above exception, another exception occurred:
  1248.  
  1249. Traceback (most recent call last):
  1250. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  1251. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  1252. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  1253. await self.acquire()
  1254. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  1255. await fut
  1256. concurrent.futures._base.CancelledError
  1257.  
  1258. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/sensor/0x00158d0003a00223/temperature/config': '{"unit_of_measurement":"°C","device_class":"temperature","value_template":"{{ value_json.temperature }}","state_topic":"zigbee2mqtt/0x00158d0003a00223","json_attributes_topic":"zigbee2mqtt/0x00158d0003a00223","name":"0x00158d0003a00223_temperature","unique_id":"0x00158d0003a00223_temperature_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d0003a00223"],"name":"0x00158d0003a00223","sw_version":"Zigbee2mqtt 1.7.1","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  1259. Traceback (most recent call last):
  1260. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  1261. self._get()
  1262. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  1263. json_data = self._handle_request('get', url)
  1264. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  1265. raise self.error_map[response.status_code]()
  1266. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  1267.  
  1268. During handling of the above exception, another exception occurred:
  1269.  
  1270. Traceback (most recent call last):
  1271. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  1272. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  1273. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  1274. await self.acquire()
  1275. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  1276. await fut
  1277. concurrent.futures._base.CancelledError
  1278.  
  1279. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.util.logging] Exception in async_device_message_received when handling msg on 'homeassistant/switch/0x00158d00032d5ee6/switch/config': '{"payload_off":"OFF","payload_on":"ON","value_template":"{{ value_json.state }}","command_topic":"zigbee2mqtt/0x00158d00032d5ee6/set","state_topic":"zigbee2mqtt/0x00158d00032d5ee6","name":"0x00158d00032d5ee6_switch","unique_id":"0x00158d00032d5ee6_switch_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d00032d5ee6"],"name":"0x00158d00032d5ee6","sw_version":"Zigbee2mqtt 1.7.1","model":"Mi power plug ZigBee (ZNCZ02LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
  1280. Traceback (most recent call last):
  1281. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  1282. self._get()
  1283. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  1284. json_data = self._handle_request('get', url)
  1285. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  1286. raise self.error_map[response.status_code]()
  1287. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  1288.  
  1289. During handling of the above exception, another exception occurred:
  1290.  
  1291. Traceback (most recent call last):
  1292. File "/usr/src/homeassistant/homeassistant/components/mqtt/discovery.py", line 198, in async_device_message_received
  1293. async with hass.data[DATA_CONFIG_ENTRY_LOCK]:
  1294. File "/usr/local/lib/python3.7/asyncio/locks.py", line 92, in __aenter__
  1295. await self.acquire()
  1296. File "/usr/local/lib/python3.7/asyncio/locks.py", line 192, in acquire
  1297. await fut
  1298. concurrent.futures._base.CancelledError
  1299.  
  1300. 2020-02-02 21:22:31 ERROR (MainThread) [homeassistant.setup] Error during setup of component default_config
  1301. Traceback (most recent call last):
  1302. File "/usr/local/lib/python3.7/asyncio/runners.py", line 43, in run
  1303. return loop.run_until_complete(main)
  1304. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 570, in run_until_complete
  1305. self.run_forever()
  1306. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 538, in run_forever
  1307. self._run_once()
  1308. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 1782, in _run_once
  1309. handle._run()
  1310. File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
  1311. self._context.run(self._callback, *self._args)
  1312. File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 233, in async_setup_platform
  1313. await self._platforms[key].async_setup(platform_config, discovery_info)
  1314. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 118, in async_setup
  1315. await self._async_setup_platform(async_create_setup_task)
  1316. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 158, in _async_setup_platform
  1317. await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  1318. File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
  1319. return fut.result()
  1320. File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
  1321. result = self.fn(*self.args, **self.kwargs)
  1322. File "/config/custom_components/trakt/sensor.py", line 81, in setup_platform
  1323. continue_setup_platform(hass, config, token, add_devices, discovery_info)
  1324. File "/config/custom_components/trakt/sensor.py", line 89, in continue_setup_platform
  1325. add_devices([TraktUpcomingCalendarSensor(hass, config, token)], True)
  1326. File "/config/custom_components/trakt/sensor.py", line 127, in __init__
  1327. self.update()
  1328. File "/config/custom_components/trakt/sensor.py", line 144, in update
  1329. calendar = MyShowCalendar(days=self._days)
  1330. File "/usr/local/lib/python3.7/site-packages/trakt/calendar.py", line 31, in __init__
  1331. self._get()
  1332. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 455, in inner
  1333. json_data = self._handle_request('get', url)
  1334. File "/usr/local/lib/python3.7/site-packages/trakt/core.py", line 432, in _handle_request
  1335. raise self.error_map[response.status_code]()
  1336. trakt.errors.OAuthException: Unauthorized - OAuth must be provided
  1337.  
  1338. During handling of the above exception, another exception occurred:
  1339.  
  1340. Traceback (most recent call last):
  1341. File "/usr/src/homeassistant/homeassistant/setup.py", line 170, in _async_setup_component
  1342. hass, processed_config
  1343. File "/usr/src/homeassistant/homeassistant/components/default_config/__init__.py", line 17, in async_setup
  1344. return await async_setup_component(hass, "stream", config)
  1345. File "/usr/src/homeassistant/homeassistant/setup.py", line 49, in async_setup_component
  1346. return await task # type: ignore
  1347. concurrent.futures._base.CancelledError
  1348. 2020-02-02 21:22:32 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_open of <Listener(Thread-8, initial daemon)>>: on_open() missing 1 required positional argument: 'ws'
  1349. 2020-02-02 21:22:32 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1350. 2020-02-02 21:22:32 ERROR (SyncWorker_7) [concurrent.futures] exception calling callback for <Future at 0xafb13fd0 state=finished raised RuntimeError>
  1351. Traceback (most recent call last):
  1352. File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
  1353. result = self.fn(*self.args, **self.kwargs)
  1354. File "/config/custom_components/feedparser/sensor.py", line 49, in setup_platform
  1355. add_devices([FeedParserSensor(hass, config)])
  1356. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 208, in _schedule_add_entities
  1357. update_before_add,
  1358. File "/usr/src/homeassistant/homeassistant/util/async_.py", line 56, in run_callback_threadsafe
  1359. loop.call_soon_threadsafe(run_callback)
  1360. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 732, in call_soon_threadsafe
  1361. self._check_closed()
  1362. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 479, in _check_closed
  1363. raise RuntimeError('Event loop is closed')
  1364. RuntimeError: Event loop is closed
  1365.  
  1366. During handling of the above exception, another exception occurred:
  1367.  
  1368. Traceback (most recent call last):
  1369. File "/usr/local/lib/python3.7/concurrent/futures/_base.py", line 324, in _invoke_callbacks
  1370. callback(self)
  1371. File "/usr/local/lib/python3.7/asyncio/futures.py", line 365, in _call_set_state
  1372. dest_loop.call_soon_threadsafe(_set_state, destination, source)
  1373. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 732, in call_soon_threadsafe
  1374. self._check_closed()
  1375. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 479, in _check_closed
  1376. raise RuntimeError('Event loop is closed')
  1377. RuntimeError: Event loop is closed
  1378. 2020-02-02 21:22:34 ERROR (SyncWorker_6) [concurrent.futures] exception calling callback for <Future at 0xafb23970 state=finished raised RuntimeError>
  1379. Traceback (most recent call last):
  1380. File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
  1381. result = self.fn(*self.args, **self.kwargs)
  1382. File "/usr/src/homeassistant/homeassistant/components/qnap/sensor.py", line 156, in setup_platform
  1383. add_entities(sensors)
  1384. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 208, in _schedule_add_entities
  1385. update_before_add,
  1386. File "/usr/src/homeassistant/homeassistant/util/async_.py", line 56, in run_callback_threadsafe
  1387. loop.call_soon_threadsafe(run_callback)
  1388. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 732, in call_soon_threadsafe
  1389. self._check_closed()
  1390. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 479, in _check_closed
  1391. raise RuntimeError('Event loop is closed')
  1392. RuntimeError: Event loop is closed
  1393.  
  1394. During handling of the above exception, another exception occurred:
  1395.  
  1396. Traceback (most recent call last):
  1397. File "/usr/local/lib/python3.7/concurrent/futures/_base.py", line 324, in _invoke_callbacks
  1398. callback(self)
  1399. File "/usr/local/lib/python3.7/asyncio/futures.py", line 365, in _call_set_state
  1400. dest_loop.call_soon_threadsafe(_set_state, destination, source)
  1401. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 732, in call_soon_threadsafe
  1402. self._check_closed()
  1403. File "/usr/local/lib/python3.7/asyncio/base_events.py", line 479, in _check_closed
  1404. raise RuntimeError('Event loop is closed')
  1405. RuntimeError: Event loop is closed
  1406. 2020-02-02 21:23:02 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1407. 2020-02-02 21:23:32 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1408. 2020-02-02 21:24:02 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1409. 2020-02-02 21:24:32 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1410. 2020-02-02 21:25:02 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1411. 2020-02-02 21:25:32 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1412. 2020-02-02 21:26:02 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1413. 2020-02-02 21:26:32 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1414. 2020-02-02 21:27:02 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1415. 2020-02-02 21:27:32 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1416. 2020-02-02 21:28:02 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1417. 2020-02-02 21:28:32 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1418. 2020-02-02 21:29:02 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1419. 2020-02-02 21:29:32 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1420. 2020-02-02 21:30:02 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1421. 2020-02-02 21:30:32 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1422. 2020-02-02 21:31:02 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1423. 2020-02-02 21:31:32 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1424. 2020-02-02 21:32:02 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1425. 2020-02-02 21:32:32 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1426. 2020-02-02 21:33:02 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1427. 2020-02-02 21:33:32 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1428. 2020-02-02 21:34:02 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1429. 2020-02-02 21:34:32 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1430. 2020-02-02 21:35:02 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1431. 2020-02-02 21:35:32 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1432. 2020-02-02 21:36:02 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1433. 2020-02-02 21:36:32 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1434. 2020-02-02 21:37:02 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1435. 2020-02-02 21:37:32 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
  1436. 2020-02-02 21:38:02 ERROR (Thread-7) [websocket] error from callback <bound method Listener.on_message of <Listener(Thread-8, initial daemon)>>: on_message() missing 1 required positional argument: 'message'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement