Skip to content

Commit

Permalink
Include appliance in EVENT_APPLIANCE_UPDATE_RECEIVED payload
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmarks committed Sep 17, 2020
1 parent 240703e commit f8ec13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gekitchen/clients/websocket_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ async def _update_appliance_state(self, mac_addr: str, updates: Dict[ErdCodeType
state_changes = appliance.update_erd_values(updates)
if state_changes:
await self.async_event(EVENT_APPLIANCE_STATE_CHANGE, [appliance, state_changes])
await self.async_event(EVENT_APPLIANCE_UPDATE_RECEIVED, updates)
await self.async_event(EVENT_APPLIANCE_UPDATE_RECEIVED, [appliance, updates])

async def disconnect(self):
"""Disconnect and cleanup."""
Expand Down

0 comments on commit f8ec13b

Please sign in to comment.