Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GregorEstebanCardosoSchiller opened this issue Dec 13, 2023 · 5 comments
Open
Labels
bug Something isn't working

Comments

@GregorEstebanCardosoSchiller

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:
- 112
- 107
- 108
entity: sensor.myenergi_hub_11357557_green_energy_today
individual2:
color:
- 142
- 2
- 27
decimals: 2
inverted_animation: true
icon: mdi:fire
display_zero: true
display_zero_state: true
name: Heizung
use_metadata: true
color_value: false
secondary_info:
template: '{{states(''sensor.energy_heizung_daily'')}}'
unit_of_measurement: Wh
display_zero: true
entity: sensor.heizungsverbrauch_taglich
clickable_entities: true
display_zero_lines: true
use_new_flow_rate_model: true
energy_date_selection: true
wh_decimals: 2
kwh_decimals: 2
min_flow_rate: 1
max_flow_rate: 6
max_expected_energy: 2000
min_expected_energy: 10
wh_kwh_threshold: 1000
title: Energieverteilung kumuliert

@GregorEstebanCardosoSchiller GregorEstebanCardosoSchiller added the bug Something isn't working label Dec 13, 2023
@B48D81EFCC
Copy link

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
Copy link
Author

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
Copy link
Author

Sadly this is no longer working...

@GregorEstebanCardosoSchiller
Copy link
Author

seems to be that this one does the trick:

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

@bananflugan
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants