Fixed logic
This commit is contained in:
parent
50f5f1860c
commit
a2ca60159d
2 changed files with 8 additions and 5 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue