mirror of
https://github.com/home-assistant/core
synced 2024-07-24 16:42:06 +02:00
Format SNMP sensor data which are not strings/counters (#44823)
This commit is contained in:
parent
30622b5575
commit
fd363f9c3a
@ -210,4 +210,4 @@ class SnmpData:
|
||||
self.value = self._default_value
|
||||
else:
|
||||
for resrow in restable:
|
||||
self.value = str(resrow[-1])
|
||||
self.value = resrow[-1].prettyPrint()
|
||||
|
Loading…
Reference in New Issue
Block a user