Lovelace: Heating flow in sunsync-power-flow-card style

I’m pretty new to all HA things, but want to share my custom card. Maybe it will be helpful.

Inspiration taken from sunsync-power-flow-card ))
All entities are generated by EMS-ESP project, in my specific case it is Buderus GB-172i

It can be raw atm, as i don’t have any experience in js and ts))

The only thing i can’t get is how to get or calculate daily energy consumption from entities with “total” values

in the end i have added a few utility_meter entities for daily energy usages

As for me it looks good with onther cards on my dashboard