Skip to content

Commit 75958cc

Browse files
rmaher001claude
andcommitted
Rename integration to llmvision_enhanced to avoid conflicts
- Change domain from llmvision to llmvision_enhanced - Update all file paths and directory references - Rename integration directory - Update HACS configuration - Bump version to 1.6.1 - Now can coexist with official LLM Vision integration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 5779a91 commit 75958cc

34 files changed

Lines changed: 24 additions & 24 deletions
-36.8 KB
Binary file not shown.
-27.5 KB
Binary file not shown.
-6.11 KB
Binary file not shown.
-13.1 KB
Binary file not shown.
Binary file not shown.
-8.89 KB
Binary file not shown.
-61.7 KB
Binary file not shown.

custom_components/llmvision/__init__.py renamed to custom_components/llmvision_enhanced/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ async def async_remove_entry(hass, entry):
153153
await async_unload_entry(hass, entry)
154154
hass.data[DOMAIN].pop(entry_uid)
155155
if entry.data[CONF_PROVIDER] == "Settings":
156-
db_path = os.path.join(hass.config.path("llmvision"), "events.db")
156+
db_path = os.path.join(hass.config.path("llmvision_enhanced"), "events.db")
157157
if os.path.exists(db_path):
158158
os.remove(db_path)
159159
else:

custom_components/llmvision/calendar.py renamed to custom_components/llmvision_enhanced/calendar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ async def _migrate(self):
111111
except aiosqlite.Error as e:
112112
_LOGGER.error(f"Error migrating events.db: {e}")
113113

114-
# v3 -> v4: Migrate image paths to /media/llmvision/snapshots from /www/llmvision
114+
# v3 -> v4: Migrate image paths to /media/llmvision_enhanced/snapshots from /www/llmvision_enhanced
115115
try:
116116
# Move images to new location
117117
# Ensure dir exists
@@ -139,7 +139,7 @@ async def _migrate(self):
139139
async with aiosqlite.connect(self._db_path) as db:
140140
await db.execute(
141141
"""
142-
UPDATE events SET key_frame = REPLACE(key_frame, '/www/llmvision', '/media/llmvision/snapshots')
142+
UPDATE events SET key_frame = REPLACE(key_frame, '/www/llmvision_enhanced', '/media/llmvision_enhanced/snapshots')
143143
"""
144144
)
145145
await db.commit()
File renamed without changes.

0 commit comments

Comments
 (0)