'Test turn off fan.'

def test_dyson_turn_off(self):

    device = _get_device_on()
    component = dyson.DysonPureCoolLinkDevice(self.hass, device)
    self.assertFalse(component.should_poll)
    component.turn_off()
    set_config = device.set_configuration
    set_config.assert_called_with(fan_mode=FanMode.OFF)
