Home Assistant
JSON →Interact with Home Assistant to control smart home devices, query states, manage automations, and troubleshoot your smart home setup.
Install
uvx
1. Tools · 15
- get_version Get the Home Assistant version
- get_entity Get the state of a specific entity with optional field filtering
- entity_action Perform actions on entities (turn on, off, toggle)
- list_entities Get a list of entities with optional domain filtering and search
- search_entities_tool Search for entities matching a query
- domain_summary_tool Get a summary of a domain's entities
- list_automations Get a list of all automations
- call_service_tool Call any Home Assistant service
- restart_ha Restart Home Assistant
- get_history Get the state history of an entity (last N hours)
- get_history_range Get state-change history for an entity over an explicit date/time range (start_time / end_time, ISO-8601)
- get_statistics Get long-term aggregated statistics (mean / min / max per bucket) for an entity over the last N hours — works for data older than the recorder's short-term retention window
- get_statistics_range Same, but for an explicit date/time range — useful for monthly / yearly trend queries
- get_error_log Get the Home Assistant error log, with optional level / integration / search_term / lines filters applied server-side so noisy logs don't blow Claude's context
- get_entities_by_area List entities in a specific area / room
Environment variables
YOUR_LONG_LIVED_TOKEN
Links
★ 299 GitHub stars