'Test for not firing if from filter is not a match.'

def test_if_not_fires_if_from_filter_not_match(self):

    self.hass.states.set('test.entity', 'bye')
    assert setup_component(self.hass, automation.DOMAIN, {automation.DOMAIN: {'trigger': {'platform': 'state', 'entity_id': 'test.entity', 'from': 'hello', 'to': 'world'}, 'action': {'service': 'test.automation'}}})
    self.hass.states.set('test.entity', 'world')
    self.hass.block_till_done()
    self.assertEqual(0, len(self.calls))
