Skip to content
This repository was archived by the owner on Apr 12, 2026. It is now read-only.

Commit 381b5e8

Browse files
Ubuntuclaude
authored andcommitted
docs(dashboard): format status duration as Xh Ymin instead of raw seconds
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent cf6ce8e commit 381b5e8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

docs/examples/dashboard-waermepumpe.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ views:
4141
- entity: sensor.luxtronik_2_0_luxtronik_id_web_hauptmenustatus_zeile3
4242
name: "Status-Grund"
4343
icon: "mdi:help-circle-outline"
44-
- entity: sensor.luxtronik_2_0_luxtronik_id_web_hauptmenustatus_zeit
45-
name: "Im Status seit (Sek.)"
44+
- type: template
45+
entity: sensor.luxtronik_2_0_luxtronik_id_web_hauptmenustatus_zeit
46+
name: "Im Status seit"
47+
state: "{{ ((states('sensor.luxtronik_2_0_luxtronik_id_web_hauptmenustatus_zeit') | int(0)) // 3600) }}h {{ (((states('sensor.luxtronik_2_0_luxtronik_id_web_hauptmenustatus_zeit') | int(0)) % 3600) // 60) }}min"
4648
icon: "mdi:timer-sand"
4749
- entity: sensor.luxtronik_2_0_luxtronik_compressor
4850
name: "Kompressor"

0 commit comments

Comments
 (0)