🤖
Home Assistant
Control smart home devices via Home Assistant: lights, climate, media, covers, scenes, sensors, automations, and more. 34 tools with readOnly and domain-leve...
安全通过
💬Prompt
技能说明
name: openclaw-homeassistant description: "Control smart home devices via Home Assistant: lights, climate, media, covers, scenes, sensors, automations, and more. 34 tools with readOnly and domain-level safety guards."
openclaw-homeassistant
OpenClaw plugin for Home Assistant integration. Control your entire smart home from chat.
Tools (34)
Core
ha_status- HA config, version, locationha_list_entities- List entities (filter by domain/state)ha_get_state- Get single entity state + attributesha_search_entities- Search entities by name patternha_list_services- Available services by domain
Lights
ha_light_on- Turn on (brightness, color_temp, rgb, transition)ha_light_off/ha_light_toggleha_light_list- All lights with current state
Switches
ha_switch_on/ha_switch_off/ha_switch_toggle
Climate
ha_climate_set_temp- Set temperature + HVAC modeha_climate_set_mode- heat/cool/auto/offha_climate_set_preset- home/away/eco/boostha_climate_list- All climate entities with temps
Media Player
ha_media_play/ha_media_pause/ha_media_stopha_media_volume- Set volume (0.0-1.0)ha_media_play_media- Play specific media
Covers
ha_cover_open/ha_cover_closeha_cover_position- Set position (0-100)
Scenes & Automations
ha_scene_activate/ha_script_run/ha_automation_trigger
Sensors & History
ha_sensor_list- All sensors with valuesha_history- Entity history over timeha_logbook- Recent logbook entries
Generic
ha_call_service- Any service callha_fire_event- Fire custom eventsha_render_template- Jinja2 templates
Notifications
ha_notify- Send notifications
Configuration
{
"url": "http://your-ha-instance:8123",
"token": "YOUR_LONG_LIVED_ACCESS_TOKEN",
"allowedDomains": ["light", "switch", "climate"],
"readOnly": false
}
Safety
readOnly: blocks all write operationsallowedDomains: restricts to specific device domains- Entity ID validation enforced on all calls
如何使用「Home Assistant」?
- 打开小龙虾AI(Web 或 iOS App)
- 点击上方「立即使用」按钮,或在对话框中输入任务描述
- 小龙虾AI 会自动匹配并调用「Home Assistant」技能完成任务
- 结果即时呈现,支持继续对话优化