Skip to content

v1.7.0-beta1

Pre-release
Pre-release

Choose a tag to compare

@m11tch m11tch released this 27 Jan 21:58
98841d6

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.py into a shared DRY_DURATION_MAP constant.
  • Performance: Replaced f-string logging with lazy logging across multiple files (coordinator.py, parser.py) to avoid unnecessary string interpolation.
  • Manifest: Updated iot_class to cloud_push to correctly reflect the integration's architecture.

Fixes

  • Type Safety: Resolved unreachable code errors in coordinator.py by properly typing EufyLogin.mqtt_credentials.
  • Type Safety: Updated ConfigFlow return type hints to ConfigFlowResult.
  • Error Handling: Added logging to previously silent except blocks in parser.py, select.py, and number.py.
  • Deprecations: Removed deprecated VacuumEntityFeature.STATUS and battery_level attribute from vacuum.py.

Full Changelog: v1.6.0...v1.7.0-beta1