Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coalesce_messages support #2

Open
zoe-codez opened this issue Mar 10, 2024 · 0 comments
Open

coalesce_messages support #2

zoe-codez opened this issue Mar 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@zoe-codez
Copy link
Member

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"}}}}}
@zoe-codez zoe-codez added the enhancement New feature or request label Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Status: Backlog
Development

No branches or pull requests

1 participant