From 7b742858dbed31d72ef821c5a0c7d0c8e3d32406 Mon Sep 17 00:00:00 2001 From: Martin Date: Tue, 10 Feb 2026 15:24:29 -0500 Subject: [PATCH] [ADD] ha_shell_command --- ha_shell_command.yaml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/ha_shell_command.yaml b/ha_shell_command.yaml index e69de29..585011a 100644 --- a/ha_shell_command.yaml +++ b/ha_shell_command.yaml @@ -0,0 +1,36 @@ +# Add this to your configuration.yaml + +shell_command: + # Update MCP Bridge integration from Gitea + update_mcp_bridge: > + curl -fsSL https://www.git.quarantinedstudio.com/mvezina/homeassistant-mcp-bridge/raw/branch/main/quick_install.sh | + GITEA_URL=https://www.git.quarantinedstudio.com + REPO=mvezina/homeassistant-mcp-bridge + bash + +# Then create an automation or script to call it: + +script: + update_mcp_bridge: + alias: "Update MCP Bridge Integration" + sequence: + - service: shell_command.update_mcp_bridge + - delay: + seconds: 5 + - service: system_log.write + data: + message: "MCP Bridge updated. Please restart Home Assistant." + level: warning + - service: persistent_notification.create + data: + title: "MCP Bridge Updated" + message: "The MCP Bridge integration has been updated. Please restart Home Assistant for changes to take effect." + +# Optional: Add a button to your dashboard +button: + - type: button + name: Update MCP Bridge + icon: mdi:download + tap_action: + action: call-service + service: script.update_mcp_bridge \ No newline at end of file