Skip to main content
Glama

Home Assistant MCP Server

by miguelg719
from .entity import EntityDescription, EntityAttributes, EntityDomain from enum import Enum class LightState(str, Enum): """States specific to lights""" ON = "on" OFF = "off" class LightAttributes(EntityAttributes): """Attributes for light entities""" brightness_pct: int | None = None color_temp: int | None = None rgb_color: tuple[int, int, int] | None = None supported_color_modes: list[str] = [] class LightDescription(EntityDescription[LightState]): """Light-specific entity description""" domain: EntityDomain = EntityDomain.LIGHT attributes: type[EntityAttributes] = LightAttributes supported_states: list[LightState] # Type-safe states for lights

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/miguelg719/home-assistant-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server