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

Reset after NVRAM changes #579

Merged
merged 5 commits into from
Sep 4, 2023
Merged

Conversation

puddly
Copy link
Contributor

@puddly puddly commented Sep 1, 2023

Bellows can sometimes have issues forming new networks: settings are successfully written, the network starts up, a backup afterwards works, but upon reset the settings are lost/revert.

It seems that we need to write our EmberZNet config after reset, in addition to resetting after every NVRAM change.

@codecov
Copy link

codecov bot commented Sep 1, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (4e8ad8c) 99.83% compared to head (ca8281a) 99.83%.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #579   +/-   ##
=======================================
  Coverage   99.83%   99.83%           
=======================================
  Files          68       68           
  Lines        4858     4871   +13     
=======================================
+ Hits         4850     4863   +13     
  Misses          8        8           
Files Changed Coverage Δ
bellows/ezsp/__init__.py 99.39% <100.00%> (+<0.01%) ⬆️
bellows/zigbee/application.py 100.00% <100.00%> (ø)

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

@puddly
Copy link
Contributor Author

puddly commented Sep 1, 2023

Everything works with all of the coordinators I tested (including an ancient HUSBZB-1) but I'd appreciate a second check. I encountered this issue when working on home-assistant/core#99482.

@puddly puddly merged commit 50636b7 into zigpy:dev Sep 4, 2023
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