convert lifespan to string for logger

This commit is contained in:
bittles
2022-12-31 10:41:06 -05:00
parent 16a6e3379c
commit 859c0c02f4
+1 -1
View File
@@ -507,7 +507,7 @@ class VacBot():
if 'val' in event:
lifespan = int(event['val']) / 100
_LOGGER.debug("**********Component " + type + " has lifespan of " + lifespan + ".")
_LOGGER.debug("**********Component " + type + " has lifespan of " + str(lifespan) + ".")
else:
lifespan = int(event['left']) / 60 #This works for a D901
self.components[type] = lifespan