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

Doesn’t properly work with generator #66

Open
stalniy opened this issue Dec 20, 2024 · 1 comment
Open

Doesn’t properly work with generator #66

stalniy opened this issue Dec 20, 2024 · 1 comment

Comments

@stalniy
Copy link

stalniy commented Dec 20, 2024

When I don’t have grid, the card shows that my home uses generator with 0 W and 0 V

IMG_6815
IMG_6822

I’m going to look into the code and fix it in the nearest days

@DanteWinters
Copy link
Owner

Hi @stalniy
The generator input is an feature that I tried to implement but couldn't get a good setup working. The only reason you should be seeing this is if you defined an entity in the generator_power config. Removing it should fix this issue.
Once the LuxPower integration has a good working with generator, I'll update the card to use it.

As for looking at the code, you are welcome to suggest improvements. my JavaScript knowledge starts and mostly ends with this card. The implementations aren't ideal, but I tried to keep the code as readable as I could

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