🚀 Added
- Config Flow Support: Full UI configuration via Home Assistant's integration menu, with automatic YAML migration on setup.
- Value Customization: Added support for
value_columnandvalue_templateto easily extract and format sensor values. - Statistics & Entity Classes: Added support for
state_classanddevice_class. - Device Grouping: Entities are now properly grouped under a single Device in Home Assistant using
DeviceInfo. - Localization: Added full English and Dutch translations (
strings.json,en.json,nl.json).
🛠️ Fixed & Improved
- DataUpdateCoordinator Integration: Refactored the core engine to use
DataUpdateCoordinatorfor reliable state updates and availability handling. - MySQL Connection Handling: Fixed
autocommitbehavior to prevent stale data snapshots on InnoDB engines, and added automatic reconnect handling. - Bug Fixes: Resolved all edge-case key errors, handling of missing configuration parameters, and service call exceptions.
- Type Safety & Testing: Tightened typing across the codebase and achieved 100% test coverage suite (22 tests passing).
🔄 Changed
- Every release now ships a
homeassistant-ha_mysql.zip, which is what HACS installs and what a manual installation can be unpacked from.