Technik freaks 06a5a45b1f bugfix
2025-03-08 12:55:32 +01:00

12 lines
359 B
YAML

# THIS GOES INTO THE configuration.yaml of Home Assistant using e.g the Studio Code Server HA Addon
rest_command:
octoprint_connect:
url: "http://IP:PORT/api/connection"
method: POST
headers:
X-Api-Key: API_KEY
#accept: "application/json, text/html"
payload: '{"command":"connect"}'
content_type: "application/json; charset=utf-8"