تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

homeassistant-skill

بواسطة anotb

Web & Frontend Development
3.3kالتنزيلات وفق ما يذكره clawskills.sh
6النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Control Home Assistant devices and automations via REST API. 25 entity domains including lights, climate, locks.

الوصف

ما الذي تفعله هذه المهارة

Controls Home Assistant devices and automations through the REST API. Covers 25 entity domains: lights, climate, locks, covers, fans, media players, vacuums, alarms, presence tracking, weather, calendars, notifications, and input helpers. Includes entity discovery, batch operations, history queries, and Jinja2 template evaluation.

Covers the full Home Assistant REST API surface in one skill, including batch operations, template evaluation, and history queries, without requiring any additional SDKs or middleware.

متى تستخدمها

  • Turn off all lights when leaving home
  • Check if the front door is locked before bed
  • Set thermostat temperature remotely
  • Trigger a bedtime or morning routine script
  • See which family members are currently home

مثال على سير العمل

الإدخال

User asks: Turn off all the lights in the living room

الوكيل
  1. 1

    Query the template API for all entities in the living_room area

  2. 2

    Filter results to light.* entities

  3. 3

    Call light/turn_off with the full array of entity IDs in a single batch request

  4. 4

    Confirm the returned state objects show state: off

الإخراج

All living room lights turned off

المتطلبات

  • Home Assistant instance running and network-accessible
  • HA_URL env var set to the instance URL (e.g. http://10.0.0.10:8123)
  • HA_TOKEN env var containing a long-lived access token (generated in Home Assistant under Profile > Long-Lived Access Tokens)

التثبيت

clawhub install anotb/homeassistant-skill

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط