Hi,
Three months ago I started with HA and I’m glad to say that it’s a great tool for my smart home. Now I started with my new dashboard and wanted to create some cards with some energy consumption values in it.
That worked well till I got to energy consumption values from the past. I wanted to get values from the last hour, last day, last week and so on.
I have used the statistic-card to get those values in a card, but I wanted to have them as an entity to put them as a secondary_info in an entity-card (YAML). How does that work?
What I tried yet:
- sensors in configuration.yaml with history_stats; but they just can do → count, ratio, time
- helpers just work for daily, weekly, … consumptions. I used all of them for my cards and one for the total consumption as base.
I’m searching now for two weeks and cannot find the right solution. I can’t believe that there is no one for this „little“ problem.
Maybe someone can help me out with a hint or a link?
Thank you!