Skip to content

Allow external radio types #461

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

Draft
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

puddly
Copy link
Contributor

@puddly puddly commented Jun 10, 2025

This will need a corresponding PR to Core but will allow for pre-alpha radio libraries (Ziggurat, ZBOSS, BLZ, and ESPZB) to be used in Home Assistant:

# A custom component, unfortunately, to manage dependencies
zha_custom_radio_libraries:
  - "git+https://github.com/zigpy/ziggurat"

zha:
  external_radio_libraries:
    - radio_type: ziggurat
      display_name: Ziggurat
      module_path: zigpy_ziggurat.zigbee.application:ControllerApplication
      description: An experimental open source Zigbee stack implemented in Rust.

This is fundamentally a development tool so expect breakage if you rely on it 😄.

@puddly puddly marked this pull request as draft June 10, 2025 15:32
Copy link

codecov bot commented Jun 11, 2025

Codecov Report

Attention: Patch coverage is 97.29730% with 1 line in your changes missing coverage. Please review.

Project coverage is 96.88%. Comparing base (a2de928) to head (0a08169).
Report is 2 commits behind head on dev.

Files with missing lines Patch % Lines
zha/application/gateway.py 96.15% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #461      +/-   ##
==========================================
- Coverage   96.88%   96.88%   -0.01%     
==========================================
  Files          63       63              
  Lines       10361    10355       -6     
==========================================
- Hits        10038    10032       -6     
  Misses        323      323              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@puddly
Copy link
Contributor Author

puddly commented Jun 11, 2025

I've slightly expanded the scope of this PR to clean up and entirely remove the RadioType enum. Instead, we can have structured information within the Gateway object accessible via an API call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant