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

WebSocket API doc typo / confusing: is "unsubscribe_events" also used for unsubscribing from triggers? #36495

Open
tcfurrer opened this issue Dec 23, 2024 · 0 comments

Comments

@tcfurrer
Copy link

tcfurrer commented Dec 23, 2024

Feedback

In the "Unsubscribing from events" section it only shows as example with a message type of "unsubscribe_events" but doesnt mention whether this is also used for unsubscribing from triggers.

The logical expectation would be:

  • subscribe_events --> unsubscribe_events
  • subscribe_trigger --> unsubscribe_trigger

If there is actually no "unsubscribe_trigger" type, then the doc needs to be clear about that confusing detail.
If on the other hand there is indeed an "unsubscribe_trigger" type, then the doc needs to mention it.

Side note: it looks like the "Unsubscribing from events" section also has the wrong header level?

URL

https://developers.home-assistant.io/docs/api/websocket/#unsubscribing-from-events

Version

2024.12.5

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant