Skip to content

coalesce_messages support #2

Description

@zoe-codez

This appears as a socket frame that appears immediately after Home Assistant replies with auth_ok.

{"type":"supported_features","id":1,"features":{"coalesce_messages":1}}

It appears alter the way Home Assistant sends updates over the websocket. With this enabled, messages can appear as both single objects, or an array of objects. Objects appear to be patch changes, rather than full size entity states being sent with every update.

Example update

{"id":3,"type":"event","event":{"c":{"sensor.adguard_home_dns_queries":{"+":{"s":"1171995","lc":1669568008.42719,"c":"01GJX0447BF912599CZBXNY4AX"}}}}}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions