mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-15 17:12:59 +00:00
Fix entity count chip
This commit is contained in:
@@ -2,7 +2,7 @@ v3_chip_entity_count:
|
||||
variables:
|
||||
entity_type:
|
||||
template: v3_chip_name
|
||||
name: "[[[ return `${entity.state} open ${variables.entity_type}${entity.state > 1 ? 's' : ''}` ]]]"
|
||||
name: "[[[ return `${entity.state} open ${variables.entity_type}${entity.state != 1 ? 's' : ''}` ]]]"
|
||||
state:
|
||||
- value: 0
|
||||
operator: '!='
|
||||
|
||||
Reference in New Issue
Block a user