'Test is on service call.'

def test_is_on(self):

    self.assertFalse(fan.is_on(self.hass, FAN_ENTITY_ID))
    fan.turn_on(self.hass, FAN_ENTITY_ID)
    self.hass.block_till_done()
    self.assertTrue(fan.is_on(self.hass, FAN_ENTITY_ID))
