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

Merge canis ursa refactor with ess #64

Merged
merged 37 commits into from
Apr 17, 2024
Merged

Conversation

krbaker
Copy link
Owner

@krbaker krbaker commented Apr 11, 2024

This fixes issue #63 and issue #45 (because I was there). Currently this also changes all entity ids so all historical data and graphs will break :-( I'm going to do a bit more review of the 'why' on these to see if I really want to push this out.

This change is with much thanks to @CanisUrsa a lot of nice cleanup that enable at least one other feature request in the future (debug values should be easy/clean)

CanisUrsa and others added 10 commits March 2, 2024 13:24
Merge solar sensors into a single sun power dict.
Add solar binary sensors into a single sun power binary dict.
Add sun vault sensors into a single sun vault dict.
Add sun vault binary sensors into a single sun vault binary dict.
Modify entity to have a single entity class.
Modify sensors to utilize new solar sensor dict and optionally sun vault sensor dict including utilization of  singular sensor class.
Modify binary sensors to utilize new solar binary sensor dict and optionally sun vault binary sensor dict including utilization of singular binary sensor class.
Add method for querying energy storage system status.
Update sunpower fetch to include querying energy storage system and generating the abstract sunvault for dealing with systems containing multiple batteries.
Update readme to include information about energy storage system.
Add use ess option to config flow.
…d to get ESS data to fail with:

UnboundLocalError: cannot access local variable 'data' where it is not associated with a value
@krbaker krbaker marked this pull request as ready for review April 11, 2024 20:20
@krbaker krbaker self-assigned this Apr 11, 2024
in names.  update README to reflect these updates
* make sure to always use the passed in product name vs. hard coded
* if the beginning entity name matches the device name it will be
stripped in the UI where it makes sense (viewing the device) but
still used in the entity name (best of both worlds)
@krbaker krbaker merged commit f453254 into main Apr 17, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants