Hi,
I’m trying to create RESTful sensors, but I have no idea what response is returned after request. Is there a way to print or debug raw response in home assistant?
Hi,
I’m trying to create RESTful sensors, but I have no idea what response is returned after request. Is there a way to print or debug raw response in home assistant?
Yes, you can log the response by adding the following to your configuration (or modifying your existing one accordingly):
logger:
default: info
logs:
homeassistant.components.rest: debug
Thanks a lot. Its working.