'Test for firing on change with bad template.'

def test_if_fires_on_change_with_bad_template_2(self):

    assert setup_component(self.hass, automation.DOMAIN, {automation.DOMAIN: {'trigger': {'platform': 'template', 'value_template': '{{    xyz    |    round(0)    }}'}, 'action': {'service': 'test.automation'}}})
    self.hass.states.set('test.entity', 'world')
    self.hass.block_till_done()
    self.assertEqual(0, len(self.calls))
