कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

homeassistant-cli

joneschi द्वारा

DevOps & Cloud
3.1kclawskills.sh द्वारा बताए गए डाउनलोड
10स्टार
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Advanced Home Assistant control using the official hass-cli tool.

विवरण

यह स्किल क्या करती है

Controls Home Assistant smart home devices via the official hass-cli command-line tool. Supports auto-completion for entity IDs and services, real-time event monitoring, history queries, and multiple output formats (table, YAML, JSON).

Unlike curl-based alternatives, hass-cli provides auto-completion, structured output formatting, and built-in history queries without manual JSON crafting.

इसे कब इस्तेमाल करें

  • Turn lights on or off by room
  • Check sensor states from the terminal
  • Watch automation events fire in real time
  • Query state history for a device over the past hour
  • Discover available entities and services interactively

उदाहरण वर्कफ़्लो

इनपुट

User asks: turn on the living room lights at 50% brightness

एजेंट
  1. 1

    Run hass-cli state list light to confirm the entity ID

  2. 2

    Identify entity as light.living_room

  3. 3

    Call hass-cli service call light.turn_on --arguments entity_id=light.living_room,brightness=128

  4. 4

    Verify with hass-cli state get light.living_room

आउटपुट

Living room light turns on at 50% brightness (brightness=128 out of 255)

आवश्यकताएँ

  • Home Assistant instance with network access
  • HASS_SERVER environment variable set to your Home Assistant URL
  • HASS_TOKEN environment variable set to a long-lived access token generated from your Home Assistant profile

इंस्टॉलेशन

clawhub install joneschi/homeassistant-cli

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक