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

Subscribe to trigger response appears to be wrong #2439

Open
benwainwright opened this issue Nov 4, 2024 · 1 comment
Open

Subscribe to trigger response appears to be wrong #2439

benwainwright opened this issue Nov 4, 2024 · 1 comment

Comments

@benwainwright
Copy link

benwainwright commented Nov 4, 2024

On the websocket API section that tells you how to subscribe to a trigger: https://developers.home-assistant.io/docs/api/websocket/#subscribe-to-trigger it says

For each trigger that matches, the server will send a message of type trigger. The id in the message will point at the original id of the subscribe_trigger command. Note that your variables will be different based on the used trigger.

Straight below that, there is a block of JSON that looks like a sample response... which has a type value of event. Either the response example is wrong, or the quoted statement needs rewording because it reads as contradictory. Happy to raise a PR if someone can confirm for me that I'm right.

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

2 participants