Last active
November 2, 2017 02:20
-
-
Save willwhui/7cd33c82853fc0d9a44852c3724842c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
在haas on Raspberry 上设置一个random sensor触发的alert及automation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
小坑
id: 1508639450841
这样一行(数字任意,避免和现有id重复)这样就可以在hass的前端的configuration模块中,被automation模块识别列出了
但是:
一旦你对任何一个automaiton模块进行修改和保存,那么automations.xml中的所有内容都会被重写。
功能虽正常,但注释全被销毁,语句顺序也发生一定的变化。
所以还是别这样搞了。