Skip to content

[Feature] - Set light Color & Dimmer with transition in one call #47

@dobrou

Description

@dobrou

Hi, first thank you for this library!
With LINQPad and your library, it's a matter of few minutes to start writing first simple lights automation scripts.

Is your feature request related to a problem? Please describe.
When I want to change both Color and Dimmer of the light, I have to do 2 separate calls:
DeviceController.SetColor(device, color, transition);
DeviceController.SetDimmer(device, dimmer, transition);

But when I include transition, first call transition effect is simply skipped by executing second call.

Describe the solution you'd like
Solution would be to add public method which allows to set both color and dimmer with transition time.
It looks like internal lower level API inside SetColor/SetDimmer allows to set both values inluding transition, it just needs to add appropriate public methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions