ignore packs not connected
This commit is contained in:
1 parent
09a9112279
commit
4d54e048c5
1 file changed
+2
@@ -129,6 +129,8 @@ class DeviceReader:
|
||||
_LOGGER.debug("Parsed data: %s", parsed)
|
||||
|
||||
for key, value in parsed.items():
|
||||
# Ignore likely unavailable pack data
|
||||
if value != 0:
|
||||
parsed_data.update({key + str(pack): value})
|
||||
|
||||
except ParseError:
|
||||
|
||||
Reference in new issue
Block a user