diff --git a/templates/dashboard.html b/templates/dashboard.html index c08c727..f909a8d 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -29,10 +29,14 @@ {% if ha_enabled %} {% set low_pct = batteries | selectattr('battery_percentage', 'ne', none) | selectattr('battery_percentage', 'lt', 20) | list %} {% if low_pct %} -
-
{{ low_pct|length }}
-
Low Battery
-
+ +
+
{{ low_pct|length }}
+
Low Battery
+
+
{% endif %} {% endif %} @@ -47,7 +51,7 @@ {% set na_low_cap = needs_attention.low_capacity %} {% set na_low_pct = needs_attention.low_pct %} {% if na_low_cap or na_low_pct %} -
+
Needs Attention  {{ (na_low_cap|length) + (na_low_pct|length) }}