home-assistant / home-assistant.io

:blue_book: Home Assistant User documentation
https://www.home-assistant.io
Other
4.98k stars 7.29k forks source link

coalesce_feature not documented in websocket api #32092

Open maxandersen opened 7 months ago

maxandersen commented 7 months ago

Feedback

while playing with websocket api I noticed in issues like https://github.com/zachowj/node-red-contrib-home-assistant-websocket/issues/809 and in the implementation of netdaemon that there is a coalesce_feature that if i understand it right requires clients to respond on "auth" to send something like:

 {   type: "supported_features",
    id: 1, // Always the first message after auth
    features: { coalesce_messages: 1 },
  }

this is not mentioned on https://developers.home-assistant.io/docs/api/websocket/ nor in any other docs I can find.

URL

https://developers.home-assistant.io/docs/api/websocket/

Version

No response

Additional information

I'll make a PR with what I understand it does but I'm by no means the authoritive author of this.

maxandersen commented 7 months ago

just realized this should be opened in https://github.com/home-assistant/developers.home-assistant - can someone move it?