Skip to content

Commit

Permalink
Added handling of sync.apply responses to update Charge Mode etc
Browse files Browse the repository at this point in the history
  • Loading branch information
gndean committed Apr 1, 2024
1 parent 4794eef commit f7e4a7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ async def on_sync_websocket_message(

if method == "login":
await self.on_message_login(result)
elif method == "sync.snapshot":
elif method == "sync.snapshot" or method == "sync.apply":
self.on_message_sync_snapshot(result, state)

if on_state_updated_callback:
Expand Down

0 comments on commit f7e4a7c

Please sign in to comment.