Exemplo n.º 1
0
 public async Task BlinkLightsAsync(LampStateConsumer consumer)
 {
     Dictionary<String, object> from = new Dictionary<string, object>();
     from.Add("Hue", 200);
     Dictionary<String, object> to = new Dictionary<string, object>();
     to.Add("Hue", 300);
     await consumer.ApplyPulseEffectAsync(from, to, 100, 200, 2, 0);
 }