flixlix / energy-flow-card-plus

An upgraded Energy Distribution Card for Home Assistant, with added features like Individual Devices and refined UI enhancements, while maintaining the Energy Dashboard's original design.
155 stars 8 forks source link

[BUG]Card not loading, when date selection is false #100

Open GregorEstebanCardosoSchiller opened 11 months ago

GregorEstebanCardosoSchiller commented 11 months ago

Hi, so when I pick false is states the total values (anytime) and when I pick true it shows this:

bug

Is there a possibility to simple set "today" ?

Code of dashboard:

type: custom:energy-flow-card-plus entities: battery: entity: production: sensor.senec_webapi_accuexport_total consumption: sensor.senec_webapi_accuimport_total state_of_charge: sensor.senec_webapi_acculevel_now state_of_charge_decimals: 2 grid: entity: consumption: sensor.senec_webapi_gridimport_total production: sensor.senec_webapi_gridexport_total solar: entity: sensor.senec_webapi_powergenerated_total display_zero_state: true home: {} individual1: name: Wallbox icon: mdi:car display_zero_state: true color_icon: false display_zero: true decimals: 2 inverted_animation: true color:

B48D81EFCC commented 11 months ago

Hi,

similar issue here. I don't use the Home Assistant Default Config (https://www.home-assistant.io/integrations/default_config/). Since I don't like the default energy integration, I disabled it (that is the reason to use this card in the first place).

But it looks like that this card needs the Energy integration to be enabled. Is there a way to get this card running without the Energy integration?

GregorEstebanCardosoSchiller commented 11 months ago

Workaround (needs Card-Mod) would be to add an energy-distribution-card and make it invisible:

type: energy-distribution style: | .type-energy-distribution { display: none; }

Stupid, but it works ^^

GregorEstebanCardosoSchiller commented 10 months ago

Sadly this is no longer working...

GregorEstebanCardosoSchiller commented 10 months ago

seems to be that this one does the trick:

type: energy-distribution card_mod: style: | ha-card { display: none; }

bananflugan commented 9 months ago

I have this same issue even though i use default_config in my configuration.yaml. I think its because i dont use the default dashboard, i use UI minimalist.