mirror of
https://github.com/home-assistant/core.git
synced 2025-11-27 03:28:04 +00:00
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:
committed by
Paulus Schoutsen
parent
b67f1fed52
commit
ece58ce78f
@@ -307,7 +307,7 @@ class ZigBeeDigitalIn(Entity):
|
||||
subscribe(hass, handle_frame)
|
||||
|
||||
# Get initial state
|
||||
hass.add_job(self.update_ha_state, True)
|
||||
hass.add_job(self.async_update_ha_state, True)
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
@@ -433,7 +433,7 @@ class ZigBeeAnalogIn(Entity):
|
||||
subscribe(hass, handle_frame)
|
||||
|
||||
# Get initial state
|
||||
hass.add_job(self.update_ha_state, True)
|
||||
hass.add_job(self.async_update_ha_state, True)
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
|
||||
Reference in New Issue
Block a user