v1.7.0-beta1
Pre-release
Pre-release
This release implements several refactorings, improvements, and fixes. It focuses on code quality, performance optimization, and best practices.
Key Changes
New Features
- Reconfiguration Support: Added async_step_reconfigure to ConfigFlow, allowing users to update their credentials (username/password) without removing and re-adding the integration.
Enhancements
- Refactoring: Extracted duplicate lists in
select.pyinto a sharedDRY_DURATION_MAPconstant. - Performance: Replaced f-string logging with lazy logging across multiple files (coordinator.py,
parser.py) to avoid unnecessary string interpolation. - Manifest: Updated
iot_classtocloud_pushto correctly reflect the integration's architecture.
Fixes
- Type Safety: Resolved
unreachablecode errors in coordinator.py by properly typingEufyLogin.mqtt_credentials. - Type Safety: Updated ConfigFlow return type hints to
ConfigFlowResult. - Error Handling: Added logging to previously silent
exceptblocks inparser.py,select.py, andnumber.py. - Deprecations: Removed deprecated
VacuumEntityFeature.STATUSandbattery_levelattribute fromvacuum.py.
Full Changelog: v1.6.0...v1.7.0-beta1