RESTful command response

Current implementation of RESTful command allows to make a request as a service but there’s no way to get the response.

I know the RESTful sensor does allow to get the response but sometimes you don’t want to run the RESTful request frequently. I want to make the request just under some conditions. To add a field like value_template from sensor rest in the rest_command would be great.

Posted in closed issue #20820

At least add to log that specific command was called, and log return code and returned data.
Right now I don’t know if the command was called, what the endpoint returned.
In my case, I want to restart a specific device using a rest request. I’ve created a request in Postman and in there I see that the device returned OK text and 200 status code, but in some cases, the device is returning an error code.
Right now I don’t have any option to know that in Home Assistant

1 Like

Is this feature request still active?

I’d like this feature so I can avoid the rest sensor integration making a request every time HomeAssistant restarts. I’d like to control when it is triggered rather than using the scan_interval attribute.