stop printing positiion updates
stop printing positiion updates
This commit is contained in:
+2
-3
@@ -832,9 +832,8 @@ class EcoVacsMQTT(ClientMQTT):
|
|||||||
result.update(xml[0].attrib)
|
result.update(xml[0].attrib)
|
||||||
|
|
||||||
for key in result:
|
for key in result:
|
||||||
if ',' in result[key]: #Seen in position updates
|
#Check for RepresentInt to handle negative int values, and ',' for ignoring position updates
|
||||||
print(result[key])
|
if not RepresentsInt(result[key]) and ',' not in result[key]:
|
||||||
elif not RepresentsInt(result[key]): #Fix to handle negative int values
|
|
||||||
result[key] = stringcase.snakecase(result[key])
|
result[key] = stringcase.snakecase(result[key])
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|||||||
Reference in New Issue
Block a user