mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
Like is said, BS
This commit is contained in:
@@ -77,9 +77,36 @@ cards:
|
||||
{% endif %}
|
||||
tap_action:
|
||||
action: more-info
|
||||
- type: custom:mushroom-entity-card
|
||||
- type: custom:mushroom-template-card
|
||||
entity: sensor.thermal_comfort_relative_strain_perception
|
||||
name: Relative Strain
|
||||
primary: Relative Strain
|
||||
secondary: >
|
||||
{% if is_state('sensor.thermal_comfort_relative_strain_perception','comfortable') %}
|
||||
Comfy
|
||||
{% elif is_state('sensor.thermal_comfort_relative_strain_perception','slight_discomfort') %}
|
||||
Slight Discomfort
|
||||
{% elif is_state('sensor.thermal_comfort_relative_strain_perception','discomfort') %}
|
||||
Discomfort
|
||||
{% elif is_state('sensor.thermal_comfort_relative_strain_perception','significant_discomfort') %}
|
||||
Significant Discomfort
|
||||
{% elif is_state('sensor.thermal_comfort_relative_strain_perception','extreme_discomfort') %}
|
||||
Extreme Discomfort
|
||||
{% endif %}
|
||||
icon: tc:dew-point-alternative
|
||||
icon_color: >
|
||||
{% if is_state('sensor.thermal_comfort_relative_strain_perception','comfortable') %}
|
||||
green
|
||||
{% elif is_state('sensor.thermal_comfort_relative_strain_perception','slight_discomfort') %}
|
||||
yellow
|
||||
{% elif is_state('sensor.thermal_comfort_relative_strain_perception','discomfort') %}
|
||||
orange
|
||||
{% elif is_state('sensor.thermal_comfort_relative_strain_perception','significant_discomfort') %}
|
||||
red
|
||||
{% elif is_state('sensor.thermal_comfort_relative_strain_perception','extreme_discomfort') %}
|
||||
red
|
||||
{% endif %}
|
||||
tap_action:
|
||||
action: more-info
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-template-card
|
||||
|
||||
@@ -3,13 +3,13 @@ path: nws-alerts
|
||||
icon: mdi:cloud-alert
|
||||
visible:
|
||||
- user: 24a4bd075e7f41a497dd0390a1dd4a9f
|
||||
#########################################################################################
|
||||
|
||||
cards:
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: sensor.nws_alerts_alerts
|
||||
- entity: sensor.nws_alerts
|
||||
state_not: "0"
|
||||
card:
|
||||
type: markdown
|
||||
|
||||
Reference in New Issue
Block a user