-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(switch,core): Improve state verification and init data fetching
- refactor(switch): Improve state verification and error handling for network switches - Enhanced state verification mechanism for traffic routes and firewall policies - Directly fetch fresh data from API during state verification - Added more robust error handling and logging during state changes - Removed redundant state tracking attributes - Simplified state verification and toggle logic - Improved logging for switch state transitions and verification attempts - refactor(core): Improve data fetching and error handling in UniFi Network integration - Enhanced data update coordinator with more robust error handling - Added explicit UpdateFailed exception for data retrieval errors - Implemented initial data fetch with comprehensive logging - Improved error checking and data validation during setup - Added debug logging for firewall policies and traffic routes count - Ensured fallback to empty lists when no data is retrieved Everything works - but no firewall rules or other entities shows up #18
- Loading branch information
Showing
2 changed files
with
115 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters