Skip to content

Commit

Permalink
fix(nexa): propagate message events immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
andersevenrud committed Feb 25, 2023
1 parent bdbba8f commit f4e22dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/nexa_bridge_x/nexa.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,7 @@ async def update_node_from_message(self, data: NexaWebsocketData) -> None:
self.hass.bus.async_fire(f"{DOMAIN}_custom_event", event)

#self.async_set_updated_data(self.data)
self.async_update_listeners()

async def _async_update_data(self) -> None:
"""Update data by pulling in the background"""
Expand Down

0 comments on commit f4e22dc

Please sign in to comment.