What's Changed
Major refactoring release with 9 code quality fixes from code review:
Critical Fixes
- Fix
GoveeDeviceNotFoundErrorconstructor mismatch - Fix
async_send_diy_stylereturningTruewithout sending command - Unify REST-forward / BLE-backup pattern for music mode on and off
Architecture Improvements
- Extract
BlePassthroughManagerfrom coordinator - Extract
SceneCacheManagerfrom coordinator - Complete
IApiClientprotocol withget_diy_scenes - Fix segment entity to inherit from
GoveeEntity - Consolidate scattered imports in coordinator
- Simplify orphan entity cleanup with
startswithmatching
Other
- Consolidate entity suffix constants to
const.py - Reduce duplication in select platform entities
- Fix mypy type annotations for BLE passthrough manager