Skip to content

Commit

Permalink
some changes login command for issue #11
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-code-ruiz committed May 5, 2023
1 parent 35efca9 commit 7de7ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/elkbledom/elkbledom.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ async def _ensure_connected(self) -> None:

async def _login_command(self):
try:
if self._device.name.lower().startswith("MELK"):
if self._device.name.lower().startswith("melk"):
LOGGER.debug("Executing init command for: %s; RSSI: %s", self.name, self.rssi)
self._write([0x7e, 0x07, 0x83])
await asyncio.sleep(1)
Expand Down

0 comments on commit 7de7ee3

Please sign in to comment.