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
|
||||
state: 'on'
|
||||
- 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
|
||||
color: |-
|
||||
{% if is_state('binary_sensor.raining','on') %}
|
||||
|
Reference in New Issue
Block a user