diff --git a/ccm15/CCM15Device.py b/ccm15/CCM15Device.py index 877eb58..27e6b78 100644 --- a/ccm15/CCM15Device.py +++ b/ccm15/CCM15Device.py @@ -31,7 +31,8 @@ async def _fetch_data(self) -> CCM15DeviceState: ac_index = 0 for ac_name, ac_binary in data.items(): if ac_binary == "-": - break + ac_index += 1 + continue bytesarr = bytes.fromhex(ac_binary.strip(",")) ac_slave = CCM15SlaveDevice(bytesarr) ac_data.devices[ac_index] = ac_slave