'Test setup component with no devices.'

def test_setup_component_with_no_devices(self):

    self.hass.data[dyson.DYSON_DEVICES] = []
    add_devices = mock.MagicMock()
    dyson.setup_platform(self.hass, {}, add_devices)
    add_devices.assert_called_with([])
