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
Allow configuring Starlink sleep schedule #103057
Allow configuring Starlink sleep schedule #103057
Conversation
529c57b
to
394669b
Compare
bb4aa88
to
9c11773
Compare
@boswelja CI is failing, please fix the issues, then click the "Ready for review" button 👍 |
9c11773
to
e2ff208
Compare
Codecov has dropped, which makes sense since new entities were added, but that also means there's a failing check. I haven't got entity tests set up in starlink yet, is it worth dealing with now? |
Its always worth adding tests, but if you don't want to do that, the new file needs to be added to |
Fair enough, tests for entities are on my to-do list, I just need to actually get around to it |
cb47d6f
to
caf8287
Compare
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
d5a53da
to
bd35824
Compare
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.
Looks good, just one question
75713d5
to
5a63d19
Compare
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.
LGTM, thanks @boswelja 👍
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.
Please address the comment in a new PR. Thanks!
self.hass.async_add_executor_job( | ||
location_data, self.channel_context | ||
), | ||
self.hass.async_add_executor_job( |
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.
Don't create concurrent executor jobs. We're not allowed to create more than one executor job at a time. Please run all sync work inside a single function that we schedule once on the executor.
Proposed change
Adding a switch and the (new) time platform to Starlink to allow users to configure sleep schedule.
Type of change
Additional information
Checklist
black --fast 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
..coveragerc
.To help with the load of incoming pull requests: