v1.3.2
🆕 HA Daily Counter v1.3.2
🐞 Fixes
- Fixed
hacs.jsonandmanifest.jsonto fully comply with HACS integration requirements. - Added
CONFIG_SCHEMAusingcv.config_entry_only_config_schema(DOMAIN)to satisfy Hassfest validation rules. - Reorganized imports in
__init__.pyto comply with Ruff E402 (“imports must be at the top of the file”). - Added missing import for
DOMAINincounter.py, resolving Ruff F821 (“undefined name 'DOMAIN'”). - Corrected
device_infomethod typing to match Home Assistant’sDeviceInfo | Nonestandard, ensuring Mypy passes cleanly. - Verified that all modules pass Ruff and Mypy with zero errors or warnings.
⚙️ Code Quality
- Improved consistency and readability across all modules.
- All imports sorted, typing hints added, and file headers aligned with Home Assistant best practices.
🧩 Result
The integration is now fully compliant with HACS, Hassfest, Ruff, and Mypy.
All counters and entities load correctly, historical statistics remain intact,
and users can safely upgrade without losing functionality or data.