diff --git a/custom_components/skykettle/skykettle.py b/custom_components/skykettle/skykettle.py index 749a5d6..2dbcaf6 100644 --- a/custom_components/skykettle/skykettle.py +++ b/custom_components/skykettle/skykettle.py @@ -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