Remove ThreadPool with async executor (#4154)

* Remove ThreadPool with async executor

* Fix zigbee

* update unittest

* fix remote api

* add pending task to remote

* fix lint

* remove unused import

* remove old stuff for lazy tests

* fix bug and add a exception handler to executor

* change executor handling

* change to wait from gather

* fix unittest
This commit is contained in:
Pascal Vizeli authored and Paulus Schoutsen committed 2016-11-05 09:27:55 -07:00
1 parent b67f1fed52
commit ece58ce78f
10 files changed
+37 -346

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ class ZigBeeTemperatureSensor(Entity):
self._config = config
self._temp = None
# Get initial state
hass.add_job(self.update_ha_state, True)
hass.add_job(self.async_update_ha_state, True)
@property
def name(self):