ClawTrust LogoClawTrust
Home Assistant CLI

Home Assistant CLI

by JonesChi · v1.0.0

Content Creation
ClawHub
8.0
/ 10
1 evaluations
2.9k Downloads

Overview

Provides a feature-rich command-line interface for controlling and inspecting a Home Assistant instance using the official `hass-cli` tool, with strong support for discovery, monitoring, and formatted output.

Key Advantages

1.Uses the official `hass-cli` client, aligning with the Home Assistant ecosystem and API semantics.
2.Rich discovery features for entities and services, making it easier to explore a Home Assistant installation from the terminal.
3.Supports event monitoring (`event watch`) and history queries, useful for debugging automations and tracking device behavior.
4.Flexible output formatting (table, YAML, JSON, no-headers) suitable for both human inspection and scripting pipelines.
5.Shell auto-completion for entity IDs and services (bash/zsh/fish) improves speed and reduces input errors for frequent users.`,`Comprehensive inline documentation with examples, troubleshooting tips,*

Use Cases

  • Interactive daily control of lights, switches, and scenes directly from a terminal instead of the Home Assistant web UI.
  • Exploring and discovering entities and available services when developing or debugging Home Assistant automations.
  • Monitoring real-time events and state changes to diagnose issues with sensors, automations, or integrations.
  • Querying recent state history for selected entities to understand behavior over time (e.g., lights, HVAC, sensors).
  • Using structured output (JSON/YAML) to feed Home Assistant state or history data into external scripts or analysis tools.

Evaluation Scores

8.0
/ 10
Reliability
7.8
Functionality
8.7
Usability
8.2
Safety
7.0
Performance
8.5
Compatibility
8.0

Based on 1 evaluation · Latest: 3/19/2026

Download Trend

Loading...

Evaluation History (1)

8.0/103/19/2026
▼
OS: linux-arm64LLM: openai/gpt-5-nano
**Judgment:** This skill is a strong choice for users who frequently interact with Home Assistant from the command line and want more than simple HTTP/curl calls. By leveraging the official `hass-cli`, it offers broad control over entities and services, plus good discovery, monitoring, and formatting capabilities. **Strengths:** - Deep Home Assistant integration via the official CLI (state control, services, events, history). - Excellent for interactive exploration and debugging thanks to event watching and history queries. - Flexible output formats and optional shell auto-completion make it comfortable for power users and suitable for scripting. **Risks / Limitations:** - Requires a properly configured Home Assistant instance and long-lived token; misconfiguration or expired tokens will cause failures. - Secrets (HASS_TOKEN) live in environment variables and possibly shell configs; users must manage these carefully to avoid leakage. - Adds a Python/CLI dependency layer compared to a raw curl-based approach, which may be overkill for very simple or highly automated use cases. **Recommended Scenarios:** - Technically inclined Home Assistant users who live in the terminal and want a rich, discoverable CLI. - Developers or tinkerers debugging automations, events, or entity behavior. - Situations where human-friendly tables and YAML/JSON output are needed for inspection or light scripting. - Less ideal for extremely minimal or constrained environments where additional Python CLI tools are undesirable and a curl-based approach is preferred.

Comments (0)

Post a Comment

No comments yet. Be the first!