Skip to content
This repository was archived by the owner on Jun 2, 2023. It is now read-only.
This repository was archived by the owner on Jun 2, 2023. It is now read-only.

Translators should support setting multiple resources in a single call #204

@danielrischar

Description

@danielrischar

This is an issue for setting colourChroma, where the hue and saturation are included in the colourChroma resource, but the brightness is included in the dimming resource. Setting the resources one at a time will result in the wrong color being displayed between the application of both changes. For some providers, the round trip on changes is significant, and this will lead to a bad experience.

postDeviceResource should take multiple ids and payloads and convert them into a single atomic transaction with the provider, also cutting down on the number of calls that need to be made if an app wants to make significant changes or batch up multiple state changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions