From 7b9eb977a2d3da9956743b0d4a0ba9fbf5bd7e2a Mon Sep 17 00:00:00 2001 From: Daniel Vejsada Date: Thu, 15 Feb 2024 22:09:53 +0100 Subject: [PATCH] Deletion of the card example as it is not working. --- card.yaml | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 card.yaml diff --git a/card.yaml b/card.yaml deleted file mode 100644 index efbbfd6..0000000 --- a/card.yaml +++ /dev/null @@ -1,34 +0,0 @@ -square: false -type: grid -cards: - - type: custom:mushroom-template-card - primary: '{{states("SENSOR_NAME")}}' - secondary: '' - icon: '' - - square: false - type: grid - cards: - - type: custom:mushroom-entity-card - entity: SENSOR_NAME - primary_info: state - secondary_info: none - - type: custom:mushroom-template-card - primary: >- - {{as_timestamp(state_attr('SENSOR_NAME','departure_timestamp')['scheduled']) - | timestamp_custom('%H:%M')}} - secondary: '' - icon: '' - fill_container: true - - type: custom:mushroom-template-card - primary: >- - {% - if(state_attr('SENSOR_NAME','delay')['is_available'])%}{% - if(state_attr('SENSOR_NAME','delay')['minutes']) - != 0 %}

+ - {{state_attr('SENSOR_NAME','delay')['minutes']}}

{% - else %}-{% endif %}{% else %}-{% endif %} - secondary: '' - icon: '' - fill_container: true - columns: 3 -columns: 1