第一部:安装编辑软件File editor,可以通过应用安装(原来的加载项).
第二步:打开configuration.yaml
第三步:添加如下代码到文件里面,然后保存,重启homeassistant。