Skip to content

Merge canis ursa refactor with ess#64

Merged
krbaker merged 37 commits into
mainfrom
merge-CanisUrsa-refactor_with_ess
Apr 17, 2024
Merged

Merge canis ursa refactor with ess#64
krbaker merged 37 commits into
mainfrom
merge-CanisUrsa-refactor_with_ess

Conversation

@krbaker

@krbaker krbaker commented Apr 11, 2024

Copy link
Copy Markdown
Owner

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
krbaker added 9 commits April 17, 2024 09:50
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
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.

2 participants