본문으로 건너뛰기
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 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크