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:
@@ -11,7 +11,6 @@ cards:
|
||||
- type: history-graph
|
||||
entities:
|
||||
- entity: sensor.pm_dishwasher_w
|
||||
- entity: sensor.shelly_dishwasher_w
|
||||
hours_to_show: 2
|
||||
|
||||
- type: vertical-stack
|
||||
@@ -82,5 +81,4 @@ cards:
|
||||
- entity: sensor.dishwasher
|
||||
- entity: binary_sensor.dishwasher
|
||||
- entity: binary_sensor.dishwasher_door_contact
|
||||
- entity: sensor.dishwasher_door_device_temperature
|
||||
- entity: sensor.shelly_dishwasher_w
|
||||
- entity: sensor.dishwasher_door_device_temperature
|
||||
@@ -11,7 +11,6 @@ cards:
|
||||
- type: history-graph
|
||||
entities:
|
||||
- entity: sensor.pm_dishwasher_w
|
||||
- entity: sensor.shelly_dishwasher_w
|
||||
hours_to_show: 2
|
||||
|
||||
- type: vertical-stack
|
||||
@@ -83,4 +82,3 @@ cards:
|
||||
- entity: binary_sensor.dishwasher
|
||||
- entity: binary_sensor.dishwasher_door_contact
|
||||
- entity: sensor.dishwasher_door_device_temperature
|
||||
- entity: sensor.shelly_dishwasher_w
|
||||
@@ -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
|
||||
|
||||
@@ -3,119 +3,23 @@ path: nws-alerts
|
||||
icon: mdi:cloud-alert
|
||||
visible:
|
||||
- user: 24a4bd075e7f41a497dd0390a1dd4a9f
|
||||
#########################################################################################
|
||||
cards:
|
||||
- type: entities
|
||||
title: Severe Weather Alerts
|
||||
show_header_toggle: false
|
||||
entities:
|
||||
- sensor.nws_alerts
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: sensor.nws_alerts
|
||||
state_not: '0'
|
||||
card:
|
||||
type: markdown
|
||||
content: |
|
||||
---
|
||||
# NWS First Active Alert
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: sensor.nws_alerts_alerts
|
||||
state_not: "0"
|
||||
card:
|
||||
type: markdown
|
||||
content: |
|
||||
{% set num_alerts = states('sensor.nws_alerts') | int %}
|
||||
{% for alert_num in range(num_alerts) %}
|
||||
---
|
||||
# {{ state_attr('sensor.nws_alerts', 'Alerts')[alert_num].Event }}
|
||||
|
||||
## {{ state_attr('sensor.nws_alerts', 'Alerts')[0].Headline }}
|
||||
## {{ state_attr('sensor.nws_alerts', 'Alerts')[alert_num].Headline }}
|
||||
|
||||
{{ state_attr('sensor.nws_alerts', 'Alerts')[0].Description }}
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: sensor.nws_alerts
|
||||
state_not: '0'
|
||||
- entity: sensor.nws_alerts
|
||||
state_not: '1'
|
||||
card:
|
||||
type: markdown
|
||||
content: >
|
||||
---
|
||||
|
||||
# NWS Second Active Alert {% if state_attr('sensor.nws_alerts',
|
||||
'title').split(' - ')[1] is defined %}
|
||||
|
||||
## {{ states.sensor.nws_alerts.attributes.title.split(' - ')[1] }}
|
||||
|
||||
{{ state_attr('sensor.nws_alerts', 'display_desc').split('\n\n-\n\n')[1] }}
|
||||
|
||||
{% else %}
|
||||
none
|
||||
{% endif %}
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: sensor.nws_alerts
|
||||
state_not: '0'
|
||||
- entity: sensor.nws_alerts
|
||||
state_not: '1'
|
||||
- entity: sensor.nws_alerts
|
||||
state_not: '2'
|
||||
card:
|
||||
type: markdown
|
||||
content: >
|
||||
---
|
||||
|
||||
# NWS Third Active Alert {% if state_attr('sensor.nws_alerts',
|
||||
'title').split(' - ')[2] is defined %}
|
||||
|
||||
## {{ states.sensor.nws_alerts.attributes.title.split(' - ')[2] }}
|
||||
|
||||
{{ state_attr('sensor.nws_alerts', 'display_desc').split('\n\n-\n\n')[2] }}
|
||||
|
||||
{% else %}
|
||||
none
|
||||
{% endif %}
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: sensor.nws_alerts
|
||||
state_not: '0'
|
||||
- entity: sensor.nws_alerts
|
||||
state_not: '1'
|
||||
- entity: sensor.nws_alerts
|
||||
state_not: '2'
|
||||
- entity: sensor.nws_alerts
|
||||
state_not: '3'
|
||||
card:
|
||||
type: markdown
|
||||
content: >
|
||||
---
|
||||
|
||||
# NWS Fourth Active Alert {% if state_attr('sensor.nws_alerts',
|
||||
'title').split(' - ')[3] is defined %}
|
||||
|
||||
## {{ states.sensor.nws_alerts.attributes.title.split(' - ')[3] }}
|
||||
|
||||
{{ state_attr('sensor.nws_alerts', 'display_desc').split('\n\n-\n\n')[3] }}
|
||||
|
||||
{% else %}
|
||||
none
|
||||
{% endif %}
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: sensor.nws_alerts
|
||||
state_not: '0'
|
||||
- entity: sensor.nws_alerts
|
||||
state_not: '1'
|
||||
- entity: sensor.nws_alerts
|
||||
state_not: '2'
|
||||
- entity: sensor.nws_alerts
|
||||
state_not: '3'
|
||||
- entity: sensor.nws_alerts
|
||||
state_not: '4'
|
||||
card:
|
||||
type: markdown
|
||||
content: >
|
||||
---
|
||||
|
||||
# NWS Fifth Active Alert {% if state_attr('sensor.nws_alerts',
|
||||
'title').split(' - ')[4] is defined %}
|
||||
|
||||
## {{ states.sensor.nws_alerts.attributes.title.split(' - ')[4] }}
|
||||
|
||||
{{ state_attr('sensor.nws_alerts', 'display_desc').split('\n\n-\n\n')[4] }}
|
||||
|
||||
{% else %}
|
||||
none
|
||||
{% endif %}
|
||||
{{ state_attr('sensor.nws_alerts', 'Alerts')[alert_num].Description }}
|
||||
{% endfor %}
|
||||
@@ -1,16 +0,0 @@
|
||||
title: OpenMinds AI
|
||||
path: openminds-ai
|
||||
icon: mdi:brain
|
||||
visible:
|
||||
- user: 24a4bd075e7f41a497dd0390a1dd4a9f
|
||||
cards:
|
||||
- type: grid
|
||||
square: false
|
||||
columns: 1
|
||||
cards:
|
||||
- type: entities
|
||||
entities:
|
||||
- entity: input_text.gpt_prompt
|
||||
- type: markdown
|
||||
content: '{{ state_attr(''sensor.hassio_mindsdb_response'', ''response_text'') }}'
|
||||
title: OpenAI Response
|
||||
@@ -74,6 +74,14 @@ cards:
|
||||
secondary_info: none
|
||||
tap_action:
|
||||
action: toggle
|
||||
- type: entities
|
||||
entities:
|
||||
- entity: sensor.ecowitt_wh40_21917_precipitation
|
||||
secondary_info: last-updated
|
||||
- entity: binary_sensor.is_raining
|
||||
secondary_info: last-changed
|
||||
- entity: binary_sensor.sprinkler_raining
|
||||
secondary_info: last-changed
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: input_boolean.lovelace_show_sprinklers
|
||||
|
||||
@@ -54,9 +54,6 @@
|
||||
- url: /hacsfiles/Home-Assistant-Mail-And-Packages-Custom-Card/Home-Assistant-Mail-And-Packages-Custom-Card.js
|
||||
type: module
|
||||
|
||||
- url: /hacsfiles/lovelace-grocy-chores-card/grocy-chores-card.js
|
||||
type: module
|
||||
|
||||
- url: /hacsfiles/lovelace-mushroom/mushroom.js
|
||||
type: module
|
||||
|
||||
|
||||
+70
-145
@@ -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
|
||||
|
||||
@@ -59,7 +59,7 @@ cards:
|
||||
name: Microwave
|
||||
- entity: sensor.pm_stove_w
|
||||
name: Stove/Oven
|
||||
- entity: sensor.shelly_dishwasher_w
|
||||
- entity: sensor.pm_dishwasher_w
|
||||
name: Dishwasher
|
||||
- entity: sensor.shelly_keurig_w
|
||||
name: Keurig
|
||||
|
||||
Reference in New Issue
Block a user