mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Fix isy994 calling sync api in async context (#77812)
This commit is contained in:
parent
ddf668d1cb
commit
8e0b9e1f98
@ -75,7 +75,7 @@ class ISYEntity(Entity):
|
|||||||
# New state attributes may be available, update the state.
|
# New state attributes may be available, update the state.
|
||||||
self.async_write_ha_state()
|
self.async_write_ha_state()
|
||||||
|
|
||||||
self.hass.bus.fire("isy994_control", event_data)
|
self.hass.bus.async_fire("isy994_control", event_data)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def device_info(self) -> DeviceInfo | None:
|
def device_info(self) -> DeviceInfo | None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user