Menu

Need a date-picker-responsive card that subtracts two statistics (Solar TOU)
📰

Need a date-picker-responsive card that subtracts two statistics (Solar TOU)

Reddit r/homeassistant·u/Petrifriar·6 months ago
#Cje7smn3
#date#card#peak#envoy#energy
Reading 0:00
15s threshold

Setup: Home Assistant Green + Enphase solar via Envoy integration. Building a TOU energy tracking dashboard ahead of switching to a time-of-use rate plan this summer.

What I have working:

- Utility meter helpers tracking daily grid export, grid import, and solar production split into peak and off-peak baskets

- A custom dashboard with an Energy Date Picker card

- Statistic cards for each basket that correctly respond to the date picker for any selected date or date range (see attached screen - rainy day today)

The six source sensors:

- sensor.envoy_202502020795_grid_export_tou_peak

- sensor.envoy_202502020795_grid_export_tou_off_peak

- sensor.envoy_202502020795_grid_import_tou_peak

- sensor.envoy_202502020795_grid_import_tou_off_peak

- sensor.envoy_202502020795_solar_production_tou_peak

- sensor.envoy_202502020795_solar_production_tou_off_peak

What I'm trying to achieve:

Two glanceable stat cards showing:

Grid Export Off-Peak minus Grid Import Off-Peak

Grid Export Peak minus Grid Import…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.