Created
December 20, 2022 04:56
-
-
Save genebean/ab294f1196c4adcc6d48f9c379bd24f6 to your computer and use it in GitHub Desktop.
sudo Mushroom Updates card for Home Assistant
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type: custom:mushroom-template-card | |
primary: HACS Updates | |
secondary: |- | |
{% if is_state("sensor.hacs", "0") -%} | |
Up-to-date | |
{%- else -%} | |
{{ states("sensor.hacs") }} available | |
{% endif %} | |
icon: hacs:hacs | |
layout: vertical | |
badge_color: '' | |
badge_icon: '' | |
icon_color: |- | |
{% if is_state("sensor.hacs", "0") -%} | |
green | |
{%- else -%} | |
amber | |
{% endif %} | |
tap_action: | |
action: navigate | |
navigation_path: /hacs/entry | |
hold_action: | |
action: none | |
double_tap_action: | |
action: none |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment