J. Nick Koston %!s(int64=2) %!d(string=hai) anos
pai
achega
2dca82aefb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      switchbot/devices/bulb.py

+ 1 - 1
switchbot/devices/bulb.py

@@ -141,7 +141,7 @@ class SwitchbotBulb(SwitchbotDevice):
         self._state["g"] = result[4]
         self._state["b"] = result[5]
         self._state["cw"] = int(result[6:7].hex(), 16)
-        _LOGGER.debug("%s: Bulb update state: %s = %s", self.name, result, self._state)
+        _LOGGER.debug("%s: Bulb update state: %s = %s", self.name, result.hex(), self._state)
         self._fire_callbacks()
 
     def update_from_advertisement(self, advertisement: SwitchBotAdvertisement) -> None: