mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
Cleanup fixes and some BS
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user