I'm confused that there doesn't seem to be any kind of schema provided as far as I can tell for machine parsable validation in external systems. I'd like to reflect some device state in external systems but I can't display a nice visual for a range value if I don't know the range.
Is this a poor documentation issue or these schemas don't exist..? It seems like they must in some form or another.
Questions from the PoV of an external system:
- is there no schema for the API?
- is there no way to get the schema for actions arguments? i.e. what values are valid to send with a service call over the api?
- is there now way to get a schema for possible device/entity states i.e. what values are permitted per attribute? Independent of a service/action call?
What about for integrations / addons?
What I've done already:
- the api docs for websocket / http https://developers.home-assistant.io/docs/api/rest
- the docs are vague and none of the example indicate any schema is provided