From bc9021a5efe709195039d81a74b9f5b47ff2a28f Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Wed, 7 Dec 2022 19:28:15 +0200 Subject: [PATCH] Fix entity count chip --- lovelace/button_card_templates/v3/v3_chip_entity_count.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lovelace/button_card_templates/v3/v3_chip_entity_count.yaml b/lovelace/button_card_templates/v3/v3_chip_entity_count.yaml index 8199179..be434ee 100644 --- a/lovelace/button_card_templates/v3/v3_chip_entity_count.yaml +++ b/lovelace/button_card_templates/v3/v3_chip_entity_count.yaml @@ -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: '!='