HA 自定义用户界面的外观StatesUI和lovelaceUI

statesUI教程:http://tieba.baidu.com/p/6086711461
在configuration.yaml中有group: !include groups.yaml
故打开groups.yaml,

bitcoin:
  name: 比特币
  entities:
    sensor.exchange_rate_1_btc, sensor.trade_volume

安装以上教程有可能无法显示所见内容,易错地方是:LoveLace默认模式为前端编辑模式,若要启用yaml模式,在configuration.yaml文件中添加如下代码

lovelace:
  mode: yaml

另中文为乱码,需要修改编码为utf8

在Home Assistant上设置Lovelace,https://blog.csdn.net/hjf0124/article/details/86686815,https://www.hachina.io/docs/15789.html

猜你喜欢

转载自blog.csdn.net/weixin_44968310/article/details/89520149
HA