Skip to content
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

Support new zigpy OTA update notification schema #128

Merged
merged 13 commits into from
Aug 29, 2024

Conversation

puddly
Copy link
Contributor

@puddly puddly commented Aug 5, 2024

This PR adds support for passing more granular version metadata for OTA updates from zigpy, allowing us to show all current and past versions for an OTA update. This will allow (once Home Assistant supports it) downgrading firmwares from the UI, selecting images from multiple sources, and so on.

This changes OTA update entity semantics a little: the OTA entity is now "unknown" if we do not have an update for the device, as opposed to turning in "on".

@puddly puddly marked this pull request as ready for review August 28, 2024 16:13
Copy link

codecov bot commented Aug 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.89%. Comparing base (b7ecf60) to head (d09b4d2).
Report is 2 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #128      +/-   ##
==========================================
+ Coverage   95.84%   95.89%   +0.04%     
==========================================
  Files          61       61              
  Lines        9391     9404      +13     
==========================================
+ Hits         9001     9018      +17     
+ Misses        390      386       -4     

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

@puddly puddly merged commit 20c828d into zigpy:dev Aug 29, 2024
6 checks passed
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.

2 participants