Skip to main content
Glama

get_entity

Retrieve the state of a Home Assistant entity with optional field filtering to access specific smart home device data.

Instructions

Get the state of a Home Assistant entity with optional field filtering.

Args: entity_id: Entity ID (e.g. 'light.living_room') fields: Fields to include (e.g. ['state', 'attr.brightness']) detailed: If True, returns all fields unfiltered

Examples: get_entity("light.living_room", fields=["state", "attr.brightness"])

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entity_idYes
fieldsNo
detailedNo

Latest Blog Posts

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/rmaher001/hass-mcp-plus'

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