-
-
Notifications
You must be signed in to change notification settings - Fork 36.4k
Updated the starlingbank integration to use the newer starlingbankapi package, the old starlingbank package having been abandoned since 2019.
#160102
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
Conversation
…bank` package having been abandoned since 2019. Updated to add description of balance_types and the optional ability to monitor a Starling Space balance instead of its parent account via the new space_name config option.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @richkershaw
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!
|
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @richkershaw
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!
zweckj
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
- have you tried contacting the existing library owner if he would be willing to add you as a maintainer before forking? We generally try to avoid forking unless proven there's no other way
- we only allow changes to are necessary for a library change to work, the new CONF is not that
- this integration still uses YAML, according to https://github.com/home-assistant/architecture/blob/master/adr/0010-integration-configuration.md#decision we no longer allow changes to the YAML config, so the integration would need to migrate to a config flow first, it would be very much appreciated if you were willing to do that
Thanks!
|
@zweckj - thanks for the review.
Yes, several weeks ago - no activity on the repo since 2019, and no reply from the author.
OK, no problem - so two pull requests, one for the library change and one for the new CONF?
Will do - on my to-do list, thanks. |
yes, with the caveat, that you'll need to implement a config flow first |
|
Closing this PR ahead of splitting into several PRs and implementing a config flow. |
Proposed change
The old
starlingbankPython package hasn't been updated since 2019, so in order to add support for the more recent Spaces savings pot feature in Starling's API, I've forked it as(starlingbankapi)[https://github.com/richkershaw/starlingbankapi/]and created a new (PyPI package)[https://pypi.org/project/starlingbankapi/] just in case the original author @dullage decides to pick it back up again. The new code also adds thespace_nameconfig option to give access to that feature in the new package.Type of change
Additional information
starlingbankapipackage home-assistant.io#42836]Checklist
ruff format homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all.To help with the load of incoming pull requests: