Fix: state_as_number always return float
This commit is contained in:
1 parent
e9fa1f1f83
commit
1571b33e4a
5 files changed
+14
-29
No files matched your search
@@ -89,6 +89,7 @@ class TestGraphite(unittest.TestCase):
|
||||
'bat': 'NaN',
|
||||
}
|
||||
expected = [
|
||||
'ha.entity.state 0.000000 12345',
|
||||
'ha.entity.foo 1.000000 12345',
|
||||
'ha.entity.bar 2.000000 12345',
|
||||
'ha.entity.baz 1.000000 12345',
|
||||
|
||||
Reference in new issue
Block a user