Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@puddly
Copy link
Collaborator

@puddly puddly commented Sep 9, 2025

Backup/restore for EZSP requires an up-to-date child table for the network to work properly with older Aqara devices. For this reason, we should always perform a complete backup/restore.

This is a minor change but has two side effects:

  1. EZSP and ZNP adapters will take a little longer to back up.
  2. There will be more serial traffic on startup.

Copilot AI review requested due to automatic review settings September 9, 2025 16:58
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request changes the default behavior of the create_backup method to always load device information during backup operations. The change addresses compatibility issues with older Aqara devices on EZSP networks by ensuring an up-to-date child table is included in backups.

  • Changes the default value of load_devices parameter from False to True in the create_backup method

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@codecov
Copy link

codecov bot commented Sep 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.29%. Comparing base (88f0ae1) to head (1a6c4fb).
⚠️ Report is 3 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #1666   +/-   ##
=======================================
  Coverage   99.29%   99.29%           
=======================================
  Files          57       57           
  Lines       11657    11657           
=======================================
  Hits        11575    11575           
  Misses         82       82           

☔ 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 puddly merged commit 5b34725 into zigpy:dev Sep 9, 2025
14 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.

1 participant