From 9cd85f5b9fbfcdc1d2ec0cf2ab846dc3d2610438 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Fri, 23 May 2025 21:34:10 -0400 Subject: [PATCH] Add rain intensity to rain status chip on mobile dashboard home_automation/Home-Assistant-Configs#247 --- mobile_dashboard.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mobile_dashboard.yaml b/mobile_dashboard.yaml index 99f9247..196ef43 100644 --- a/mobile_dashboard.yaml +++ b/mobile_dashboard.yaml @@ -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') %}