mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00: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…
x
Reference in New Issue
Block a user