Add WebSocket commands for script/automation/scene config editing #3418
Unanswered
altendky
asked this question in
Core functionality
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The config editors for scripts, automations, and scenes (create/update/delete in their YAML files) appear to only be accessible via REST endpoints (
POST/DELETEon/api/config/{domain}/config/{key}). I haven't been able to find WebSocket equivalents -- the existingscript/configandautomation/configWS commands seem to be read-only.This hasn't been a problem since the frontend (the only consumer) uses REST. But non-browser clients that communicate over WebSocket (e.g. MCP servers for AI assistants) currently have no way to create, update, or delete script/automation/scene configurations.
Would WebSocket write commands for these config editors be welcome? I'm happy to put together a PR if so.
Beta Was this translation helpful? Give feedback.
All reactions