Skip to content

Commit

Permalink
Fixed auth validation, so more kettles are supported now
Browse files Browse the repository at this point in the history
  • Loading branch information
ClusterM committed Feb 20, 2022
1 parent a56eb44 commit 9834fbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/skykettle/skykettle.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async def command(self, command, params=[]):

async def auth(self, key):
r = await self.command(SkyKettle.COMMAND_AUTH, key)
ok = r[0] == 1
ok = r[0] != 0
_LOGGER.debug(f"Auth: ok={ok}")
return ok

Expand Down

0 comments on commit 9834fbf

Please sign in to comment.