Fix isy994 calling sync api in async context (#77812)

This commit is contained in:
J. Nick Koston 2022-09-05 01:45:35 -05:00 committed by GitHub
parent ddf668d1cb
commit 8e0b9e1f98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ class ISYEntity(Entity):
# New state attributes may be available, update the state.
self.async_write_ha_state()
self.hass.bus.fire("isy994_control", event_data)
self.hass.bus.async_fire("isy994_control", event_data)
@property
def device_info(self) -> DeviceInfo | None: