-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
Rework octoprint #58040
Rework octoprint #58040
Conversation
For a PR this size, we should probably have more of a description than:
|
c638b45
to
d4acfb1
Compare
I've rebased the rework-octoprint branch on latest dev just now. |
Please fix the failing tests and add the missing config flow tests in a new PR targeting rework-octoprint branch. |
Co-authored-by: Martin Hjelmare <[email protected]>
* Bump library version to 1.6 to fix header usages * Add already configured tests for ssdp, zeroconf, and user * Set ssl value correctly on the form when an error occurs * Test fixes
7f088ef
to
0856db2
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.
Great!
…58190) * Mark printer entities unavailable when printer is offline * Fixing code review comments * Fix printer offline status and unit test typing
Breaking change
The OctoPrint integration migrated to configuration via the UI. Configuring OctoPrint via YAML configuration has been deprecated and will be removed in a future Home Assistant release.
Your existing YAML configuration is automatically imported on upgrade to this release; and thus can be safely removed from your YAML configuration after upgrading.
Sensors removed:
Sensors added:
Previously entities added would be prefixed by the printer name, i.e. if the printer was ender 5, the sensors would be
sensor.ender_5_bed_temp0
. After this change they will besensor.octoprint_bed_temp0
and can be renamed.Proposed change
Updating octoprint integration to use library to handle the API and adding a config_flow.
Previous PRs for the initial two commits:
#46432
#46611
Type of change
Additional information
First two commits were reviewed before merge into rework-octoprint.
Following commits are to resolve issues after the rebase.
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
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests: