mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Fix: state_as_number always return float
This commit is contained in:
@@ -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