这都是内置卡片,上面一行是“预览卡片”,下面每一行是“网格卡片”,里面两个“实体卡片”,正方形选项取消。
参考代码:
type: glance
entities:
- entity: sensor.dang_qian_gong_hao
- entity: sensor.dang_qian_dian_ya
- entity: sensor.dang_qian_dian_liu
square: false
columns: 2
type: grid
cards:
- type: entity
entity: sensor.jin_ri_zong_dianliang
- type: entity
entity: sensor.zuo_ri_zong_dianliang
|