neroxps 发表于 2022-6-6 10:32
请贴出你群辉安装 homeassistant 参考的教程。不建议使用 群辉套件安装homeassistant ...
dscao 发表于 2022-6-6 11:39
service python_scripts.set_state 是自己另外安装的,安装也很简单。就是在ha的config目录中加入 python_s ...
dscao 发表于 2022-6-6 13:04
to_state 需要自动化中状态变化来触发的才会有这个,手动触发是没有这个值的。 ...
dscao 发表于 2022-6-6 13:04
to_state 需要自动化中状态变化来触发的才会有这个,手动触发是没有这个值的。 ...
zgxman 发表于 2022-6-7 10:13
大佬,我昨天试了一下,还是不行,我看了一下,我建的文件夹是“python_scripts”,自动化代码里写的是“ ...
dscao 发表于 2022-6-7 13:11
我的一直正常:
dscao 发表于 2022-6-7 13:11
我的一直正常:
zgxman 发表于 2022-6-9 15:48
大佬,我试了,还是不行,我把代码改成“ - service: python_scripts.set_state”就提示“Unable to find ...
dscao 发表于 2022-6-9 18:05
忘记了,要在 configuration.yaml 加入一句:
python_script:
启用这个。
欢迎光临 『瀚思彼岸』» 智能家居技术论坛 (https://bbs.hassbian.com/) | Powered by Discuz! X3.5 |