Skip to content

Request all necessary information during update() #53

@rytilahti

Description

@rytilahti

It is possible to request data from multiple targets (and functions) using a single request, as is done for the discovery already. The regular update() cycle should be optimized to request all the necessary data to avoid consecutive calls to obtain some extra information.

This is necessary as some devices (mainly bulbs?) are known to have rate limits before they start dropping requests, and some downstreams (esp. homeassistant) want to obtain different sorts of data (status, current consumption, historical consumption) during each update cycle.

This combination will lead to unhappy users (and/or various hacks to go around the issue), so this should be fixed before the release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions