From 8e0b9e1f9885bab2e176c489f89db5acb666c2d6 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 5 Sep 2022 01:45:35 -0500 Subject: [PATCH] Fix isy994 calling sync api in async context (#77812) --- homeassistant/components/isy994/entity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/isy994/entity.py b/homeassistant/components/isy994/entity.py index 54ee9a2ded5..61f42a60a6e 100644 --- a/homeassistant/components/isy994/entity.py +++ b/homeassistant/components/isy994/entity.py @@ -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: