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

The arrow is always "on" even though I don't buy electricity #75

Open
kamcioo opened this issue Mar 7, 2021 · 2 comments
Open

The arrow is always "on" even though I don't buy electricity #75

kamcioo opened this issue Mar 7, 2021 · 2 comments

Comments

@kamcioo
Copy link

kamcioo commented Mar 7, 2021

Which version of HA do you use?
2021.3.1

Which version of the card do you use?
0.1.5

Describe the bug
Even though I'm producing enough electricity, the card show me, that I buy extra electricity (see attachment)

Configuration of the card
Copy the complete configuration of the card, even if you think it isn't relevant.

type: 'custom:power-wheel-card'
title: Photovoltaik
solar_power_entity: sensor.solarlog_power_ac
grid_power_consumption_entity: sensor.solarlog_consumption_ac
grid_power_production_entity: sensor.solarlog_power_ac

IMG_5253

@gurbyz
Copy link
Owner

gurbyz commented Mar 7, 2021

When you use the same sensor sensor.solarlog_power_ac twice you'll end up with strange results. Please find out if you have a sensor that gives you values for consuming from and producing to the grid. It could be the same sensor when it gives e.g. positive values for producing/exporting to the grid and negative values for consuming/importing from the grid. If you found such a sensor, please use it for grid_power_entity.

(If the polarity is the other way around, so positive values for consuming, then set also production_is_positive: false.)

Hope this helps you.

@kamcioo
Copy link
Author

kamcioo commented Mar 7, 2021

Thank You Gurbyz for the reply.
Unfortunately I didn't found anything else what would work Only in this constellation (without arrow) are the results correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants