Closed kernel610 closed 5 months ago
It looks like you don't have any energy sources configured, like grid, solar. This case isn't covered. If you don't have a real sensor for that, you can create a sum helper sensor from your consumer devices and use that for now.
@kernel610 Please try v1.20.1 . It should work even without energy sources
Confirmed this is fixed in v1.20.1. Thanks for the quick fix!
Checklist:
Release with the issue: Home Assistant Core: 2024.2.2 ha-sankey-chart: v1.20.0
Last working release (if known): I don't know exact version but it was working a few weeks ago.
Browser and Operating System: Chrome MacOS Sonoma 14.3
Description of problem: The card renders as an error when using autoconfig. I've tried removing all entities from the Energy Dashboard one-by-one and still receive the error after refreshing the card.
If I set energy_date_selection: false, the dashboard renders blank despite entities with values still configured.
I can get it to render with just one section and a few entities but that doesn't make sense for the purpose of the sankey chart.
I'm guessing the error is in the starting section but can't seem to get anything to work.