🎉 Major Update
This release includes critical bug fixes and several new features to improve reliability and usability.
🐛 Critical Bug Fixes
- Fixed entity creation bug: Resolved issue where empty dict check prevented entities from being created
- Fixed entity descriptions: Now properly inherit from Home Assistant base classes
- Property validation: Added debugging for missing properties and API structure validation
✨ New Features
- Dynamic Device Discovery: New devices automatically detected without HA restart
- Configurable Refresh Interval: Set update frequency from 1-60 minutes (default: 10 minutes)
- Options Flow: Change refresh interval after setup without reconfiguring
- Retry Logic: Exponential backoff for initial data fetch failures
- Persistent Notifications: User-friendly alerts for connection issues or missing devices
📊 Improvements
- Comprehensive logging for device discovery and data fetching
- Differentiated error handling (auth vs connection vs data errors)
- Better diagnostics and debugging information
- Property name validation with detailed logging
🔄 Breaking Changes
- Default refresh interval changed from 5 to 10 minutes (reduces API load)
📝 Notes
- Users can now configure refresh interval during setup or via integration options
- Integration automatically reloads when refresh interval is changed
- All entity attributes now properly inherited from HA base classes
Full Changelog: https://github.com/jsight/ha-pecron/commits/v0.2.0