Fixed logic

This commit is contained in:
Stefan Jonasson 2015-09-13 13:05:36 +02:00
parent 50f5f1860c
commit a2ca60159d
2 changed files with 8 additions and 5 deletions

View file

@ -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))