public async Task UpdateHue(uint percent, string id, string name) { uint ret = DegreeHelper.ConvertFromDegree(percent); await GetLamp(id, name)?.consumer?.SetHueAsync(ret); FireUpdateBulb(id, name); }