call-service
星标5
分支0
更新时间2026年6月10日 12:48
Control Home Assistant devices by calling services. Turn lights on/off, lock doors, adjust climate, etc.
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Control Home Assistant devices by calling services. Turn lights on/off, lock doors, adjust climate, etc.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | call-service |
| description | Control Home Assistant devices by calling services. Turn lights on/off, lock doors, adjust climate, etc. |
| when-to-use | When the user wants to control a Home Assistant device (turn on/off, toggle, set state, etc.). |
| argument-hint | <device name> <action> |
| version | 0.3.0 |
| context | inline |
tokimo-app-home-assistant search "次卧吸顶灯"
Output: light.yeelink_ceil40_3fc8_light on light 次卧吸顶灯 灯
tokimo-app-home-assistant call light turn_off --entity-id light.yeelink_ceil40_3fc8_light
No instance_id needed — auto-selects if only one exists.
| Domain | Service | Example |
|---|---|---|
light | turn_on | call light turn_on --entity-id light.xxx |
light | turn_off | call light turn_off --entity-id light.xxx |
light | toggle | call light toggle --entity-id light.xxx |
switch | turn_on | call switch turn_on --entity-id switch.xxx |
switch | turn_off | call switch turn_off --entity-id switch.xxx |
tokimo-app-home-assistant call light turn_on --entity-id light.xxx --data '{"brightness":128}'