From 63d11f09775491b377cf42f92b0eb43e8c15e359 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Wed, 5 Mar 2025 16:43:30 -0500 Subject: [PATCH] Add new header introduced in 2025.3.0 to mobile dashboard --- mobile_dashboard.yaml | 46 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/mobile_dashboard.yaml b/mobile_dashboard.yaml index 728f1be..e045d9d 100644 --- a/mobile_dashboard.yaml +++ b/mobile_dashboard.yaml @@ -3805,6 +3805,52 @@ views: - condition: state entity: binary_sensor.raining state: 'on' + header: + card: + type: markdown + text_only: true + content: >- + {% from 'weather.jinja' import weatherReport %} {% from + 'formatting.jinja' import cleanup %} {% import 'status.jinja' as + status %} + + # Hello {{ user }} + + {{ weatherReport('full','text') }} + + + --- + + + --- Climate --- + + Average: {{ states('sensor.average_room_temperature',with_unit=true) + }} + + Coldest: {{ state_attr('sensor.coldest_room_temperature','room') }}, + {{ states('sensor.coldest_room_temperature',with_unit=true) }} + + Warmest: {{ state_attr('sensor.warmest_room_temperature','room') }}, + {{ states('sensor.warmest_room_temperature',with_unit=true) }} + + + --- + + + --- Lights --- + + Lights On: {{ states('sensor.current_lights_on') }} + + Average Lux: {{ + states('sensor.average_room_illuminance',with_unit=true) }} + + Dimmest: {{ state_attr('sensor.dimmest_room','room') }}, {{ + states('sensor.dimmest_room',with_unit=true) }} + + Brightest: {{ state_attr('sensor.brightest_room','room') }}, {{ + states('sensor.brightest_room',with_unit=true) }} + layout: responsive + badges_position: bottom - title: Old path: old icon: ''