ha-mcp-dev 7.0.0.dev267__tar.gz → 7.0.0.dev268__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ha_mcp_dev-7.0.0.dev267/src/ha_mcp_dev.egg-info → ha_mcp_dev-7.0.0.dev268}/PKG-INFO +1 -1
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/pyproject.toml +1 -1
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/config.py +7 -1
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/server.py +2 -2
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268/src/ha_mcp_dev.egg-info}/PKG-INFO +1 -1
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/LICENSE +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/MANIFEST.in +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/README.md +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/setup.cfg +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/__init__.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/__main__.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/_pypi_marker +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/auth/__init__.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/auth/consent_form.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/auth/provider.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/client/__init__.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/client/rest_client.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/client/websocket_client.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/client/websocket_listener.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/errors.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/py.typed +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/resources/card_types.json +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/resources/dashboard_guide.md +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/resources/skills-vendor/.claude/settings.json +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/resources/skills-vendor/.claude-plugin/marketplace.json +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/resources/skills-vendor/.claude-plugin/plugin.json +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/resources/skills-vendor/.github/ISSUE_TEMPLATE/skill-rca.md +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/resources/skills-vendor/AGENTS.md +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/resources/skills-vendor/CLAUDE.md +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/resources/skills-vendor/CONTRIBUTING.md +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/resources/skills-vendor/LICENSE +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/resources/skills-vendor/README.md +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/resources/skills-vendor/skills/home-assistant-best-practices/SKILL.md +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/resources/skills-vendor/skills/home-assistant-best-practices/references/automation-patterns.md +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/resources/skills-vendor/skills/home-assistant-best-practices/references/device-control.md +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/resources/skills-vendor/skills/home-assistant-best-practices/references/examples.yaml +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/resources/skills-vendor/skills/home-assistant-best-practices/references/helper-selection.md +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/resources/skills-vendor/skills/home-assistant-best-practices/references/safe-refactoring.md +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/resources/skills-vendor/skills/home-assistant-best-practices/references/template-guidelines.md +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/smoke_test.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/__init__.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/backup.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/device_control.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/enhanced.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/helpers.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/registry.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/smart_search.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_addons.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_areas.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_blueprints.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_bug_report.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_calendar.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_camera.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_config_automations.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_config_dashboards.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_config_entry_flow.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_config_helpers.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_config_info.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_config_scripts.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_entities.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_filesystem.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_groups.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_hacs.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_history.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_integrations.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_labels.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_mcp_component.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_registry.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_resources.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_search.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_service.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_services.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_system.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_todo.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_traces.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_updates.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_utility.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_voice_assistant.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_zones.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/util_helpers.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/utils/__init__.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/utils/domain_handlers.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/utils/fuzzy_search.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/utils/operation_manager.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/utils/python_sandbox.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/utils/usage_logger.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp_dev.egg-info/SOURCES.txt +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp_dev.egg-info/dependency_links.txt +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp_dev.egg-info/entry_points.txt +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp_dev.egg-info/requires.txt +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp_dev.egg-info/top_level.txt +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/tests/__init__.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/tests/test_constants.py +0 -0
- {ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/tests/test_env_manager.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ha-mcp-dev"
|
|
7
|
-
version = "7.0.0.
|
|
7
|
+
version = "7.0.0.dev268"
|
|
8
8
|
description = "Home Assistant MCP Server - Complete control of Home Assistant through MCP"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.13,<3.14"
|
|
@@ -2,12 +2,18 @@
|
|
|
2
2
|
Configuration management for Home Assistant MCP Server.
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
+
import importlib.metadata
|
|
5
6
|
import os
|
|
6
7
|
|
|
7
8
|
# Load environment variables from .env file with HAMCP_ENV_FILE support
|
|
8
9
|
# Use absolute path to ensure .env is found regardless of cwd
|
|
9
10
|
from pathlib import Path
|
|
10
11
|
|
|
12
|
+
try:
|
|
13
|
+
_PACKAGE_VERSION = importlib.metadata.version("ha-mcp")
|
|
14
|
+
except importlib.metadata.PackageNotFoundError:
|
|
15
|
+
_PACKAGE_VERSION = "unknown"
|
|
16
|
+
|
|
11
17
|
from dotenv import load_dotenv
|
|
12
18
|
from pydantic import Field, field_validator
|
|
13
19
|
from pydantic_settings import BaseSettings, SettingsConfigDict
|
|
@@ -64,7 +70,7 @@ class Settings(BaseSettings):
|
|
|
64
70
|
|
|
65
71
|
# MCP Server configuration
|
|
66
72
|
mcp_server_name: str = Field("ha-mcp", alias="MCP_SERVER_NAME")
|
|
67
|
-
mcp_server_version: str = Field(
|
|
73
|
+
mcp_server_version: str = Field(default=_PACKAGE_VERSION, alias="MCP_SERVER_VERSION")
|
|
68
74
|
|
|
69
75
|
# Environment configuration
|
|
70
76
|
environment: str = Field("development", alias="ENVIRONMENT")
|
|
@@ -17,7 +17,7 @@ import yaml # type: ignore[import-untyped]
|
|
|
17
17
|
from fastmcp import FastMCP
|
|
18
18
|
from mcp.types import Icon
|
|
19
19
|
|
|
20
|
-
from .config import get_global_settings
|
|
20
|
+
from .config import _PACKAGE_VERSION, get_global_settings
|
|
21
21
|
from .tools.enhanced import EnhancedToolsMixin
|
|
22
22
|
|
|
23
23
|
if TYPE_CHECKING:
|
|
@@ -53,7 +53,7 @@ class HomeAssistantSmartMCPServer(EnhancedToolsMixin):
|
|
|
53
53
|
self,
|
|
54
54
|
client: HomeAssistantClient | None = None,
|
|
55
55
|
server_name: str = "ha-mcp",
|
|
56
|
-
server_version: str =
|
|
56
|
+
server_version: str = _PACKAGE_VERSION,
|
|
57
57
|
):
|
|
58
58
|
"""Initialize the smart MCP server with lazy loading support."""
|
|
59
59
|
# Load settings first (fast operation)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/resources/skills-vendor/AGENTS.md
RENAMED
|
File without changes
|
{ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/resources/skills-vendor/CLAUDE.md
RENAMED
|
File without changes
|
|
File without changes
|
{ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/resources/skills-vendor/LICENSE
RENAMED
|
File without changes
|
{ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/resources/skills-vendor/README.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_config_automations.py
RENAMED
|
File without changes
|
{ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_config_dashboards.py
RENAMED
|
File without changes
|
{ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_config_entry_flow.py
RENAMED
|
File without changes
|
{ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_config_helpers.py
RENAMED
|
File without changes
|
|
File without changes
|
{ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_config_scripts.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp/tools/tools_voice_assistant.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp_dev.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{ha_mcp_dev-7.0.0.dev267 → ha_mcp_dev-7.0.0.dev268}/src/ha_mcp_dev.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|