Refactor code structure for improved readability and maintainability

This commit is contained in:
CeeWeasel
2026-01-19 14:47:59 -05:00
parent 6550521520
commit 97a0e678c0
84 changed files with 1614 additions and 1177 deletions
+3 -3
View File
@@ -20,11 +20,11 @@ cards:
- type: custom:mushroom-title-card
title: Current Live Totals
- type: custom:mushroom-title-card
title: "{{states('sensor.pm_grid_total_a')}} A"
title: "{{states('sensor.pm_grid_a')|float(default=0)|round(2) }} A"
- type: custom:mushroom-title-card
title: "{{states('sensor.pm_grid_total_w')}} W"
title: "{{states('sensor.pm_grid_w')|float(default=0)|round(2) }} W"
- type: custom:mushroom-title-card
title: "{{states('sensor.pm_grid_kwh')}} kWh"
title: "{{states('sensor.pm_grid_kwh')|float(default=0)|round(2) }} kWh"
- type: horizontal-stack
cards:
- type: vertical-stack