diff --git a/custom_components/elkbledom/elkbledom.py b/custom_components/elkbledom/elkbledom.py index 06c4fa4..20bf66b 100644 --- a/custom_components/elkbledom/elkbledom.py +++ b/custom_components/elkbledom/elkbledom.py @@ -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)