- 积分
- 514
- 金钱
- 421
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员

- 积分
- 514
- 金钱
- 421
- HASS币
- 0
|
发表于 2019-1-8 11:12:50
|
显示全部楼层
配置过程遇到一个问题,使用一些card类型时,会出错,出错信息如下:
It says 'card',not 'cardS'.Remove the dash.
配置如下,我理解这就是一个card,不是多个,为什么会出错呢?
- type: custom:card-modder
style:
--paper-card-background-color: rgba(0, 100, 0, 0.2)
--paper-item-icon-color: white
border-radius: 5px
color: rgb(0, 0, 100)
card:
- type: gauge
name: With Severity
unit: '%'
entity: sensor.processor_use
severity:
green: 0
yellow: 45
red: 85 |
|