Debug & Diagnostic Release
This release adds comprehensive logging to help diagnose scan_interval issues where updates occur more frequently than configured.
Changes
- Detailed logging for scan_interval initialization and usage
- Safety checks to ensure update_interval never goes below configured base_scan_interval
- Diagnostic logs showing:
- What scan_interval value is read during setup
- Actual update_interval being used by the coordinator
- When updates are triggered and what interval is active
How to Use
- Update to v0.6.11
- Set scan_interval to your desired value (e.g., 120 seconds)
- Reload the integration
- Check Home Assistant logs for diagnostic messages:
- Look for "Setting up coordinator with scan_interval=..."
- Look for "MarstekCoordinator initialized with scan_interval=..."
- Look for "_async_update_data called - current update_interval=..."
These logs will help identify:
- If scan_interval is being read correctly from config
- If the coordinator is initialized with the correct value
- If something is overriding the configured interval
Technical Details
- Added warning if update_interval drops below base_scan_interval
- Enhanced logging in coordinator initialization and update methods
- Better visibility into adaptive interval behavior
If scan_interval is not being respected, the logs will reveal where the issue occurs.