安装命令
aios
aios plugin install homeassistant-sync权限
插件只能做 manifest 里声明的事情, 系统会拒绝未声明的访问。
ha:entities:readha:automations:readfacts:entities:write
能力
插件 对外提供的能力接口
- sync
实体与自动化的双向映射
可调用动作
可在规则或脚本里 显式触发的动作
- ha.mirror
从 Home Assistant 拉取最新状态
Manifest 预览
一份完整清单 就够了
PLUGIN_MANIFEST.yaml
plugin:
id: homeassistant-sync
name: Home Assistant Sync
vendor: Home Assistant Community
stage: beta
topic: infra
permissions:
- ha:entities:read
- ha:automations:read
- facts:entities:write
capabilities:
- kind: sync
desc: Two-way mapping of entities and automations
actions:
- id: ha.mirror
desc: Mirror the latest state from Home Assistant
install: aios plugin install homeassistant-sync