/// <summary> /// When this state is sent to the bridge, sets the current alert of the light. /// </summary> /// <returns>This LightStateBuilder instance, for method chaining.</returns> public LightStateBuilder Alert(LightAlert alert) { AddOrUpdateProperty("alert", alert.ToString().ToLower()); return this; }
/// <summary> /// When this state is sent to the bridge, sets the current alert of the light. /// </summary> /// <returns>This LightStateBuilder instance, for method chaining.</returns> public LightStateBuilder Alert(LightAlert alert) { AddOrUpdateProperty("alert", alert.ToString().ToLower()); return(this); }