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
+70 -145
View File
@@ -18,30 +18,22 @@ badges:
- type: conditional
conditions:
- entity: sensor.thermal_comfort_dew_point_perception
state_not: unavailable
- condition: or
conditions:
- entity: sensor.thermal_comfort_dew_point_perception
state: somewhat_uncomfortable
- entity: sensor.thermal_comfort_dew_point_perception
state: quite_uncomfortable
- entity: sensor.thermal_comfort_dew_point_perception
state: quite_uncomfortable
- entity: sensor.thermal_comfort_dew_point_perception
state: extremely_uncomfortable
- entity: sensor.thermal_comfort_dew_point_perception
state: severely_high
chip:
type: template
entity: sensor.thermal_comfort_dew_point_perception
content: Dew Point
# content: >
# {% if is_state('sensor.thermal_comfort_dew_point_perception','dry') %}
# Dry
# {% elif is_state('sensor.thermal_comfort_dew_point_perception','very_comfortable') %}
# Very Comfy
# {% elif is_state('sensor.thermal_comfort_dew_point_perception','comfortable') %}
# Comfy
# {% elif is_state('sensor.thermal_comfort_dew_point_perception','ok_but_humid') %}
# Humid
# {% elif is_state('sensor.thermal_comfort_dew_point_perception','somewhat_uncomfortable') %}
# Somewhat Uncomfy
# {% elif is_state('sensor.thermal_comfort_dew_point_perception','quite_uncomfortable') %}
# Quite Uncomfy
# {% elif is_state('sensor.thermal_comfort_dew_point_perception','extremely_uncomfortable') %}
# Extremely Uncomfy
# {% elif is_state('sensor.thermal_comfort_dew_point_perception','severely_high') %}
# Severely High
# {% endif %}
icon: tc:dew-point
icon_color: >
{% if is_state('sensor.thermal_comfort_dew_point_perception','dry') %}
@@ -55,7 +47,7 @@ badges:
{% elif is_state('sensor.thermal_comfort_dew_point_perception','somewhat_uncomfortable') %}
yellow
{% elif is_state('sensor.thermal_comfort_dew_point_perception','quite_uncomfortable') %}
orange
yellow
{% elif is_state('sensor.thermal_comfort_dew_point_perception','extremely_uncomfortable') %}
orange
{% elif is_state('sensor.thermal_comfort_dew_point_perception','severely_high') %}
@@ -67,41 +59,23 @@ badges:
- type: conditional
conditions:
- entity: sensor.thermal_comfort_humidex_perception
state_not: unavailable
- condition: or
conditions:
- entity: sensor.thermal_comfort_humidex_perception
state: noticable_discomfort
- entity: sensor.thermal_comfort_humidex_perception
state: evident_discomfort
- entity: sensor.thermal_comfort_humidex_perception
state: great_discomfort
- entity: sensor.thermal_comfort_humidex_perception
state: dangerous_discomfort
- entity: sensor.thermal_comfort_humidex_perception
state: heat_stroke
chip:
type: template
entity: sensor.thermal_comfort_humidex_perception
content: Humidex
# content: >
# {% if is_state('sensor.thermal_comfort_humidex_perception','comfortable') %}
# Comfy
# {% elif is_state('sensor.thermal_comfort_humidex_perception','noticable_discomfort') %}
# Noticable Discomfort
# {% elif is_state('sensor.thermal_comfort_humidex_perception','evident_discomfort') %}
# Evident Discomfort
# {% elif is_state('sensor.thermal_comfort_humidex_perception','great_discomfort') %}
# Great Discomfort
# {% elif is_state('sensor.thermal_comfort_humidex_perception','dangerous_discomfort') %}
# Dangerous
# {% elif is_state('sensor.thermal_comfort_humidex_perception','heat_stroke') %}
# Heat Stroke
# {% endif %}
icon: tc:thermal-perception
# icon: >
# {% if is_state('sensor.thermal_comfort_humidex_perception','comfortable') %}
# mdi:thermometer-low
# {% elif is_state('sensor.thermal_comfort_humidex_perception','noticable_discomfort') %}
# mdi:thermometer
# {% elif is_state('sensor.thermal_comfort_humidex_perception','evident_discomfort') %}
# mdi:thermometer-high
# {% elif is_state('sensor.thermal_comfort_humidex_perception','great_discomfort') %}
# mdi:thermometer-high
# {% elif is_state('sensor.thermal_comfort_humidex_perception','dangerous_discomfort') %}
# mdi:thermometer-alert
# {% elif is_state('sensor.thermal_comfort_humidex_perception','heat_stroke') %}
# mdi:thermometer-alert
# {% endif %}
icon_color: >
{% if is_state('sensor.thermal_comfort_humidex_perception','comfortable') %}
green
@@ -122,30 +96,24 @@ badges:
- type: conditional
conditions:
- entity: sensor.thermal_comfort_summer_scharlau_perception
state_not: unavailable
- entity: sensor.thermal_comfort_summer_scharlau_perception
state_not: outside_calculable_range
- condition: or
conditions:
- entity: sensor.thermal_comfort_summer_scharlau_perception
state: slightly_uncomfortable
- entity: sensor.thermal_comfort_summer_scharlau_perception
state: moderately_uncomfortable
- entity: sensor.thermal_comfort_summer_scharlau_perception
state: highly_uncomfortable
chip:
type: template
entity: sensor.thermal_comfort_summer_scharlau_perception
content: Summer Scharlau
# content: >
# {% if is_state('sensor.thermal_comfort_summer_scharlau_perception','comfortable') %}
# 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') %}
# Moderatly Uncomfy
# {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','highly_uncomfortable') %}
# Highly Uncomfortable
# {% endif %}
icon: >
{% if is_state('sensor.thermal_comfort_summer_scharlau_perception','comfortable') %}
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
@@ -155,7 +123,7 @@ badges:
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
@@ -174,16 +142,6 @@ badges:
type: template
entity: sensor.thermal_comfort_winter_scharlau_perception
content: Winter Scharlau
# content: >
# {% if is_state('sensor.thermal_comfort_winter_scharlau_perception','comfortable') %}
# Comfy
# {% elif is_state('sensor.thermal_comfort_winter_scharlau_perception','slightly_uncomfortable') %}
# Slightly Uncomfy
# {% elif is_state('sensor.thermal_comfort_winter_scharlau_perception','moderatly_uncomfortable') %}
# Moderatly Uncomfy
# {% elif is_state('sensor.thermal_comfort_winter_scharlau_perception','highly_uncomfortable') %}
# Highly Uncomfortable
# {% endif %}
icon: >
{% if is_state('sensor.thermal_comfort_winter_scharlau_perception','comfortable') %}
mdi:snowflake-off
@@ -253,53 +211,25 @@ badges:
- type: conditional
conditions:
- entity: sensor.thermal_comfort_summer_simmer_perception
state_not: unavailable
- condition: or
conditions:
- entity: sensor.thermal_comfort_summer_simmer_perception
state: slightly_warm
- entity: sensor.thermal_comfort_summer_simmer_perception
state: increasing_discomfort
- entity: sensor.thermal_comfort_summer_simmer_perception
state: extremely_warm
- entity: sensor.thermal_comfort_summer_simmer_perception
state: danger_of_heatstroke
- entity: sensor.thermal_comfort_summer_simmer_perception
state: extreme_danger_of_heatstroke
- entity: sensor.thermal_comfort_summer_simmer_perception
state: circulatory_collapse_imminent
chip:
type: template
entity: sensor.thermal_comfort_summer_simmer_perception
content: Summer Simmer
# content: >
# {% if is_state('sensor.thermal_comfort_summer_simmer_perception','cool') %}
# Cool
# {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','slightly_cool') %}
# Cool
# {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','comfortable') %}
# Comfy
# {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','slightly_warm') %}
# Warm
# {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','increasing_discomfort') %}
# Warm
# {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','extremely_warm') %}
# Hot
# {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','danger_of_heatstroke') %}
# Hot
# {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','extreme_danger_of_heatstroke') %}
# Danger
# {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','circulatory_collapse_imminent') %}
# Danger
# {% endif %}
icon: tc:simmer-zone
# icon: >
# {% if is_state('sensor.thermal_comfort_summer_simmer_perception','cool') %}
# mdi:thermometer-low
# {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','slightly_cool') %}
# mdi:thermometer-low
# {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','comfortable') %}
# mdi:thermometer
# {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','slightly_warm') %}
# mdi:thermometer-chevron-up
# {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','increasing_discomfort') %}
# mdi:thermometer-chevron-up
# {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','extremely_warm') %}
# mdi:thermometer-high
# {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','danger_of_heatstroke') %}
# mdi:thermometer-high
# {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','extreme_danger_of_heatstroke') %}
# mdi:thermometer-alert
# {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','circulatory_collapse_imminent') %}
# mdi:thermometer-alert
# {% endif %}
icon_color: >
{% if is_state('sensor.thermal_comfort_summer_simmer_perception','cool') %}
blue
@@ -326,26 +256,20 @@ badges:
- type: conditional
conditions:
- entity: sensor.thermal_comfort_thoms_discomfort_perception
state_not: unavailable
- condition: or
conditions:
- entity: sensor.thermal_comfort_thoms_discomfort_perception
state: more_than_half
- entity: sensor.thermal_comfort_thoms_discomfort_perception
state: most
- entity: sensor.thermal_comfort_thoms_discomfort_perception
state: everyone
- entity: sensor.thermal_comfort_thoms_discomfort_perception
state: dangerous
chip:
type: template
entity: sensor.thermal_comfort_thoms_discomfort_perception
content: Thoms
# content: >
# {% if is_state('sensor.thermal_comfort_thoms_discomfort_perception','no_discomfort') %}
# Comfy
# {% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','less_than_half') %}
# < 1/2
# {% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','more_than_half') %}
# > 1/2
# {% 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: >
{% if is_state('sensor.thermal_comfort_thoms_discomfort_perception','no_discomfort') %}
mdi:thermometer-low
@@ -441,6 +365,17 @@ badges:
action: navigate
navigation_path: /phone-yaml/plants
- type: conditional
conditions:
- entity: binary_sensor.is_raining
state: "on"
chip:
type: entity
entity: binary_sensor.is_raining
tap_action:
action: navigate
navigation_path: /phone-yaml/plants
- type: conditional
conditions:
- entity: binary_sensor.sprinkler_should_winterize
@@ -465,16 +400,6 @@ badges:
action: navigate
navigation_path: /phone-yaml/plants
- type: conditional
conditions:
- entity: sensor.chickadee_unread
state_not: unavailable
- entity: sensor.chickadee_unread
state_not: "0"
chip:
type: entity
entity: sensor.chickadee_unread
- type: conditional
conditions:
- entity: sensor.watchman_missing_entities