'"Test the firing with changed entity.'

def test_if_fires_on_entity_change_below_above_range(self):

    assert setup_component(self.hass, automation.DOMAIN, {automation.DOMAIN: {'trigger': {'platform': 'numeric_state', 'entity_id': 'test.entity', 'below': 10, 'above': 5}, 'action': {'service': 'test.automation'}}})
    self.hass.states.set('test.entity', 4)
    self.hass.block_till_done()
    self.assertEqual(0, len(self.calls))
