我看仓库说明支持entity-filter,你试一试,应该可以达到你的需求。
type: entities
title: Entity Filter Fold
entities:
- type: custom:hui-entity-filter-card
entities:
- light.bed_light
- light.ceiling_lights
- light.kitchen_lights
state_filter:
- "on"
card:
type: custom:fold-entity-row
head:
type: section
label: Lit lamps
- type: custom:hui-entity-filter-card
entities:
- light.bed_light
- light.ceiling_lights
- light.kitchen_lights
state_filter:
- "off"
card:
type: custom:fold-entity-row
head:
type: section
label: Unlit lamps
|