Fixed logic
This commit is contained in:
1 parent
50f5f1860c
commit
a2ca60159d
2 files changed
+8
-5
No files matched your search
@@ -215,7 +215,7 @@ class TestAutomationState(unittest.TestCase):
|
||||
}
|
||||
}))
|
||||
|
||||
# 9 is below 10
|
||||
# 4 is below 5 so it should not fire
|
||||
self.hass.states.set('test.entity', 4)
|
||||
self.hass.pool.block_till_done()
|
||||
self.assertEqual(0, len(self.calls))
|
||||
|
||||
Reference in new issue
Block a user