Skip to content

Commit 80af8e6

Browse files
committed
fix: repairs via websocket, calendars graceful 404, todos path prefix, bump to 2.10.47
1 parent 09000ff commit 80af8e6

8 files changed

Lines changed: 16 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
## [2.10.46] - 2026-05-12
5+
## [2.10.47] - 2026-05-12
66

77
**Pair with MCP client 3.2.30+.**
88

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# HA Vibecode Agent
22

3-
[![Version](https://img.shields.io/badge/version-2.10.46-blue.svg)](https://github.com/Coolver/home-assistant-vibecode-agent)
3+
[![Version](https://img.shields.io/badge/version-2.10.47-blue.svg)](https://github.com/Coolver/home-assistant-vibecode-agent)
44
[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
55
[![MCP Package](https://img.shields.io/npm/v/@coolver/home-assistant-mcp?label=MCP%20Package)](https://www.npmjs.com/package/@coolver/home-assistant-mcp)
66
[![Landing Page](https://img.shields.io/badge/Landing%20Page-coolver.github.io-blueviolet)](https://coolver.github.io/home-assistant-vibecode-agent/)

app/api/calendar.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@
1414
async def list_calendars():
1515
"""List all calendar entities."""
1616
try:
17-
result = await ha_client._request('GET', 'calendars')
17+
result = await ha_client._request('GET', 'calendars', suppress_404_logging=True)
1818
return {
1919
"success": True,
2020
"count": len(result) if isinstance(result, list) else 0,
2121
"calendars": result
2222
}
2323
except Exception as e:
24+
if "404" in str(e):
25+
return {"success": True, "count": 0, "calendars": [], "note": "No calendar integrations configured"}
2426
logger.error(f"Failed to list calendars: {e}")
2527
raise HTTPException(status_code=500, detail=str(e))
2628

@@ -61,7 +63,7 @@ async def list_todos(
6163
try:
6264
result = await ha_client._request(
6365
'GET',
64-
f'/api/states/{entity_id}'
66+
f'states/{entity_id}'
6567
)
6668

6769
items = []

app/api/system.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,11 @@ async def get_repairs():
135135
Settings -> System -> Repairs in the HA UI.
136136
"""
137137
try:
138-
result = await ha_client._request('GET', 'repairs/issues')
139-
issues = result.get('issues', result) if isinstance(result, dict) else result
138+
from app.services.ha_websocket import get_ws_client
139+
ws_client = await get_ws_client()
140+
result = await ws_client._send_message({"type": "repairs/list_issues"})
141+
142+
issues = result.get("issues", result) if isinstance(result, dict) else result
140143
return {
141144
"success": True,
142145
"total": len(issues) if isinstance(issues, list) else 0,

app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
logger = setup_logger('ha_cursor_agent', LOG_LEVEL)
2727

2828
# Agent version
29-
AGENT_VERSION = "2.10.46"
29+
AGENT_VERSION = "2.10.47"
3030

3131
# FastAPI app
3232
app = FastAPI(

config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Home Assistant Add-on Configuration
22
name: HA Vibecode Agent
3-
version: "2.10.46"
3+
version: "2.10.47"
44
slug: home_assistant_cursor_agent
55
description: "Enable Cursor, VS Code, Claude Code, or any MCP-enabled IDE to help you vibe-code and manage Home Assistant: create and debug automations, design dashboards, tweak themes, modify configs, and deploy changes using natural language"
66
url: https://github.com/Coolver/home-assistant-cursor-agent

site/src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const base = "/home-assistant-vibecode-agent";
4040
</div>
4141
<div class="hero-stats">
4242
<span class="stat-badge">78+ Tools</span>
43-
<span class="stat-badge">v2.10.46</span>
43+
<span class="stat-badge">v2.10.47</span>
4444
<span class="stat-badge">MIT License</span>
4545
</div>
4646
</div>

tests/HA_AGENT_TEST_SUITE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 🧪 Home Assistant Agent - Comprehensive Test Suite
22

3-
**Version:** 2.10.46
3+
**Version:** 2.10.47
44
**Purpose:** Complete testing of all HA Vibecode Agent MCP functions
55
**Usage:** Say "run Home Assistant Agent test suite" to run full suite
66

@@ -1279,5 +1279,5 @@ python -m unittest tests.test_structured_args_parsing -v
12791279

12801280
**Last Updated:** 2026-01-27
12811281
**Test Suite Version:** 1.2.0
1282-
**Compatible with:** HA Vibecode Agent v2.10.46+
1282+
**Compatible with:** HA Vibecode Agent v2.10.47+
12831283

0 commit comments

Comments
 (0)