我设置的自动化提示错误:Unable to find service python_scripts.set_state请问这个是没安装python的原因的,我是在群晖里安装homeassistant的,如果要安装python是在docker里安装还是套件中心里安装(我的套件中心里“社群”里有python3.10和3.8)
dscao 发表于 2022-6-6 11:39
service python_scripts.set_state 是自己另外安装的,安装也很简单。就是在ha的config目录中加入 python_s ...
大佬,这个之前我就已经安装过了,代码应该和你的是一样的,我就是看你的帖子,按步骤弄的,我刚才发现是我文件夹名称写错了,我改改了过来,刚试了一下,但是还是不行,提示这个Error rendering data template: UndefinedError: 'dict object' has no attribute 'to_state'
大佬,我试了,还是不行,我把代码改成“ - service: python_scripts.set_state”就提示“Unable to find service python_scripts.set_state”,改成“ - service: python_script.set_state”就提示“Unable to find service python_script.set_state[color=var” 我也不知道哪出了问题?请大佬帮我看一下(我是群晖Docker装的HA),和锁的固件有关系吗?