I have a RESTful switch configured which calls the HASS’s own API (I’m trying to change an entity’s “hidden” state), however it fails and the log shows “No route to resource/endpoint”. I’m able to curl to the endpoint at the same address, so what I think might be happening is that the RESTful switch is checking the endpoint before the API is online.
A couple of questions:
- Is there a better way to change an entity’s hidden state? I don’t want to put it into its own group and use the group show/hide.
- Any other ideas how to call HASS’s own API from a switch?
Thanks!