add debug messages if recognized lifespan attributes

This commit is contained in:
bittles
2022-12-24 01:58:54 -05:00
parent 5727372268
commit 5ad3a0b928
+1
View File
@@ -490,6 +490,7 @@ class VacBot():
if 'val' in event:
lifespan = int(event['val']) / 100
_LOGGER.debug("**********Component " + type + " has lifespan of " + lifespan + ".")
else:
lifespan = int(event['left']) / 60 #This works for a D901
self.components[type] = lifespan