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

Make storage commands available without a battery #314

Conversation

WillCodeForCats
Copy link
Owner

Try removing the inverter-battery association check for storage controls. This would have the effect of enabling storage controls on any inverter that reported those functions are available, regardless if there is a battery associated with the same inverter modbus address or not.

If there isn't a battery associated with the inverter's modbus ID then the entities will be available but disabled by default.

* Make storage control always available if register is available
* Entities default disabled if no battery attached (uses battery flag)
@WillCodeForCats WillCodeForCats self-assigned this May 10, 2023
@WillCodeForCats WillCodeForCats linked an issue May 10, 2023 that may be closed by this pull request
@WillCodeForCats WillCodeForCats changed the title 313 try removing the inverter battery check for storage commands Make storage commands available without a battery May 10, 2023
@WillCodeForCats WillCodeForCats added the enhancement New feature or request label May 17, 2023
@WillCodeForCats WillCodeForCats merged commit 64d79ef into main May 17, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make storage commands available without a battery
1 participant