We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfc6c68 commit 1413c1fCopy full SHA for 1413c1f
switchbot/adv_parsers/humidifier.py
@@ -15,7 +15,8 @@
15
# High: 658000c5642b6300
16
def process_wohumidifier(data: bytes, mfr_data: bytes | None) -> dict[str, bool | int]:
17
"""Process WoHumi services data."""
18
- assert mfr_data is not None
+ if mfr_data is None:
19
+ return {}
20
_LOGGER.debug("mfr_data: %s", mfr_data.hex())
21
_LOGGER.debug("data: %s", data.hex())
22
0 commit comments