Add rain intensity to rain status chip on mobile dashboard
home_automation/Home-Assistant-Configs#247
This commit is contained in:
@ -3706,7 +3706,14 @@ views:
|
|||||||
entity: binary_sensor.lightning_warning
|
entity: binary_sensor.lightning_warning
|
||||||
state: 'on'
|
state: 'on'
|
||||||
- type: custom:mushroom-template-badge
|
- type: custom:mushroom-template-badge
|
||||||
content: It is currently raining!
|
content: >-
|
||||||
|
{% if
|
||||||
|
states('sensor.home_tempest_cloud_sensors_precipitation_intensity')
|
||||||
|
not in ['unavailable','unknown','no_rain'] %}
|
||||||
|
{{ states('sensor.home_tempest_cloud_sensors_precipitation_intensity') | replace('_',' ') | title }}
|
||||||
|
{% else %}
|
||||||
|
It is currently raining!
|
||||||
|
{% endif %}
|
||||||
icon: mdi:weather-rainy
|
icon: mdi:weather-rainy
|
||||||
color: |-
|
color: |-
|
||||||
{% if is_state('binary_sensor.raining','on') %}
|
{% if is_state('binary_sensor.raining','on') %}
|
||||||
|
Reference in New Issue
Block a user