'Test for firing periodically every hour.'

def test_if_fires_periodic_hours(self):

    assert setup_component(self.hass, automation.DOMAIN, {automation.DOMAIN: {'trigger': {'platform': 'time', 'hours': '/2'}, 'action': {'service': 'test.automation'}}})
    fire_time_changed(self.hass, dt_util.utcnow().replace(hour=2, minute=0, second=0))
    self.hass.block_till_done()
    self.assertEqual(1, len(self.calls))
