Skip to content

Commit

Permalink
feat: add debug to ws
Browse files Browse the repository at this point in the history
  • Loading branch information
Lash-L committed May 5, 2023
1 parent dae4515 commit dcdeb97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/anova_wifi/parser.py
Original file line number Diff line number Diff line change
@@ -90,6 +90,7 @@ async def get_devices(self) -> typing.List[AnovaPrecisionCooker]:
raise NoDevicesFound("Found no devices on websocket")
# Filter messages based on the "command" field
data = json.loads(msg.data)
_LOGGER.debug("Found message %s", data)
if data.get("command") == "EVENT_APC_WIFI_VERSION":
_LOGGER.debug("Found Event APC WIFI")
payload = data.get("payload")

0 comments on commit dcdeb97

Please sign in to comment.