'Test device is off.'

def test_dyson_off(self):

    device = _get_device_off()
    component = dyson.DysonPureCoolLinkDevice(self.hass, device)
    self.assertFalse(component.is_on)
    device = _get_device_with_no_state()
    component = dyson.DysonPureCoolLinkDevice(self.hass, device)
    self.assertFalse(component.is_on)
