Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Refactor nzbget to support future platform changes #26462
The NZBGet integration has been changed to support multiple platforms and future events, and common code has been centralized to the component. The configuration has moved from the sensor platform to the
Re-factor NZBGet component to move core logic out of the sensor platform and into a common component. Update config to have a nzbget: root-level entry.
Example entry for
@MartinHjelmare -- thank you for all the review comments and support :) It's really appreciated as someone new here.
I'm making the config change so that I can add more to the component (e.g. stop nzbget service, event when a download completes, etc...). Right now though, this change just has the sensor platform. So it's a breaking change without additional functionality. Should I go forward with this change or should I re-factor it so it's non-breaking and then do the break when I add more features? I would prefer to go forward with this and just add the new functionality asap.
Also, the CI (Overview Validate) keeps failing asking me to run the requirements script. I've done that on an updated rep, so I'm not sure what's going on.
* dev: (38 commits) Fix Environment Canada weather forecast, retain icon_code sensor (home-assistant#26646) Rename MockToggleDevice to MockToggleEntity (home-assistant#26644) Refactor nzbget to support future platform changes (home-assistant#26462) deCONZ - Remove mechanisms to import a configuration from configuration.yaml (home-assistant#26648) deCONZ - battery sensor instead of battery attribute (home-assistant#26591) Add built in weather to Homematic IP Cloud (home-assistant#26642) Move deCONZ services to their own file (home-assistant#26645) Add group attribute to Homematic IP Cloud (home-assistant#26618) Add iaqualink binary sensor and unique_id (home-assistant#26616) zha ZCL color loop effect (home-assistant#26549) [ci skip] Translation update deCONZ - create deconz_events through sensor platform (home-assistant#26592) Update azure-pipelines-wheels.yml for Azure Pipelines Update azure-pipelines-wheels.yml Refactor Bluetooth Tracker to async (home-assistant#26614) Fix Typo (home-assistant#26612) [ci skip] Translation update Disable Watson TTS Telemetry (home-assistant#26253) Improve bluetooth tracker device code (home-assistant#26067) Bump zigpy-zigate to 0.3.1 (home-assistant#26600) ...