mostly thermal changes

This commit is contained in:
CeeWeasel
2024-07-04 14:46:31 -04:00
parent 458c6121f2
commit dc0b357374
8 changed files with 2131 additions and 244 deletions
+127
View File
@@ -25,6 +25,133 @@ cards:
detail: 1
entity: sensor.nursery_multisensor_humidity
name: Humidity
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
entity: sensor.nursery_thermal_comfort_dew_point_perception
layout: vertical
primary: Dew Point
secondary: >
{% if is_state('sensor.nursery_thermal_comfort_dew_point_perception','dry') %}
Dry
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','very_comfortable') %}
Very Comfy
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','comfortable') %}
Comfy
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','ok_but_humid') %}
Humid
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','somewhat_uncomfortable') %}
Somewhat Uncomfy
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','quite_uncomfortable') %}
Quite Uncomfy
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','extremely_uncomfortable') %}
Extremely Uncomfy
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','severely_high') %}
Severely High
{% endif %}
icon: tc:dew-point
icon_color: >
{% if is_state('sensor.nursery_thermal_comfort_dew_point_perception','dry') %}
gray
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','very_comfortable') %}
green
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','comfortable') %}
green
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','ok_but_humid') %}
blue
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','somewhat_uncomfortable') %}
yellow
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','quite_uncomfortable') %}
orange
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','extremely_uncomfortable') %}
orange
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','severely_high') %}
red
{% endif %}
tap_action:
action: more-info
- type: custom:mushroom-template-card
entity: sensor.nursery_thermal_comfort_humidex_perception
layout: vertical
primary: Humidex
secondary: >
{% if is_state('sensor.nursery_thermal_comfort_humidex_perception','comfortable') %}
Comfy
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','noticable_discomfort') %}
Noticable Discomfort
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','evident_discomfort') %}
Evident Discomfort
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','great_discomfort') %}
Great Discomfort
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','dangerous_discomfort') %}
Dangerous
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','heat_stroke') %}
Heat Stroke
{% endif %}
icon: tc:thermal-perception
icon_color: >
{% if is_state('sensor.nursery_thermal_comfort_humidex_perception','comfortable') %}
green
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','noticable_discomfort') %}
yellow
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','evident_discomfort') %}
orange
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','great_discomfort') %}
orange
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','dangerous_discomfort') %}
red
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','heat_stroke') %}
red
{% endif %}
tap_action:
action: more-info
- type: custom:mushroom-template-card
entity: sensor.nursery_thermal_comfort_summer_simmer_perception
layout: vertical
primary: Simmer Simmer
secondary: >
{% if is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','cool') %}
Cool
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','slightly_cool') %}
Cool
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','comfortable') %}
Comfy
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','slightly_warm') %}
Warm
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','increasing_discomfort') %}
Warm
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','extremely_warm') %}
Hot
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','danger_of_heatstroke') %}
Hot
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','extreme_danger_of_heatstroke') %}
Danger
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','circulatory_collapse_imminent') %}
Danger
{% endif %}
icon: tc:simmer-zone
icon_color: >
{% if is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','cool') %}
blue
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','slightly_cool') %}
blue
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','comfortable') %}
green
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','slightly_warm') %}
yellow
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','increasing_discomfort') %}
yellow
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','extremely_warm') %}
orange
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','danger_of_heatstroke') %}
orange
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','extreme_danger_of_heatstroke') %}
red
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','circulatory_collapse_imminent') %}
red
{% endif %}
tap_action:
action: more-info
# Lights
- type: vertical-stack