Add new header introduced in 2025.3.0 to mobile dashboard
This commit is contained in:
@ -3805,6 +3805,52 @@ views:
|
|||||||
- condition: state
|
- condition: state
|
||||||
entity: binary_sensor.raining
|
entity: binary_sensor.raining
|
||||||
state: 'on'
|
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
|
- title: Old
|
||||||
path: old
|
path: old
|
||||||
icon: ''
|
icon: ''
|
||||||
|
Reference in New Issue
Block a user