-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
Add Starlink consumption sensors #132262
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
Add Starlink consumption sensors #132262
Conversation
Hey there @boswelja, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
Check mypy should not complain about:
|
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.
ruff is failing, can you take a look?
Yes I already mentioned it here: #132262 (comment) I mean I could rearange the dataclass but I did not wanted to touch and change existing code, just add. Edit: Oh it's about something else now too... Edit2: But mypy will still fail so do you want me to rearange the dataclass? Mypy does not like unpacking in between arguments... |
I don't mind rearranging the dataclass, as long as it works and looks nice :P |
But now the tests are failing :P |
Prettier is failing now |
Is it bc of 0.0? |
I'm baffled, what it does not like? Edit: Nvm I see it now. |
Do you have a dev env setup? pre-commit should automatically pick this up and fix it for you |
Took me some time before I realized...
Please fix the issues locally in a development environment. I don't want to keep running the CI |
It's all β now! Sorry for this lengthy process, it's my first time. :P |
Proposed change
Add power and energy sensors which are exposed in starlink-grpc-core since version 1.2.0
Type of change
Additional information
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: