Cleanup fixes and some BS

This commit is contained in:
CeeWeasel
2025-06-23 14:14:04 -04:00
parent 2df7e719cd
commit 88900cf314
17 changed files with 150 additions and 416 deletions
+36 -5
View File
@@ -124,7 +124,7 @@ cards:
Comfy
{% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','slightly_uncomfortable') %}
Slightly Uncomfy
{% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','moderatly_uncomfortable') %}
{% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','moderately_uncomfortable') %}
Moderatly Uncomfy
{% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','highly_uncomfortable') %}
Highly Uncomfortable
@@ -136,7 +136,7 @@ cards:
mdi:thermometer-low
{% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','slightly_uncomfortable') %}
mdi:thermometer
{% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','moderatly_uncomfortable') %}
{% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','moderately_uncomfortable') %}
mdi:thermometer-high
{% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','highly_uncomfortable') %}
mdi:thermometer-alert
@@ -148,7 +148,7 @@ cards:
green
{% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','slightly_uncomfortable') %}
yellow
{% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','moderatly_uncomfortable') %}
{% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','moderately_uncomfortable') %}
orange
{% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','highly_uncomfortable') %}
red
@@ -205,9 +205,40 @@ cards:
{% endif %}
tap_action:
action: more-info
- type: custom:mushroom-entity-card
- type: custom:mushroom-template-card
entity: sensor.thermal_comfort_thoms_discomfort_perception
name: Thoms Discomfort Perception
primary: Thoms
secondary: >
{% if is_state('sensor.thermal_comfort_thoms_discomfort_perception','no_discomfort') %}
No discomfort
{% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','less_than_half') %}
Less than half
{% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','more_than_half') %}
More than half
{% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','most') %}
Most
{% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','everyone') %}
Everyone
{% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','dangerous') %}
Dangerous
{% endif %}
icon: tc:heat-index
icon_color: >
{% if is_state('sensor.thermal_comfort_thoms_discomfort_perception','no_discomfort') %}
blue
{% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','less_than_half') %}
yellow
{% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','more_than_half') %}
orange
{% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','most') %}
orange
{% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','everyone') %}
red
{% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','dangerous') %}
red
{% endif %}
tap_action:
action: more-info
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card