ecoNET300 Home Assistant Integration - Version 1.1.7
📋 Changelog Summary
Version 1.1.7 - 2025-08-08
🔧 Fixed
- Entity Category Mapping: Fixed binary sensor entity categories for better UI organization
- Problem: Diagnostic entities like 'lan', 'wifi', 'mainSrv' were showing in Sensors section instead of Diagnostics
- Solution: Added explicit entity_category property to EconetBinarySensor class and proper type annotations
- Impact: Diagnostic entities now appear in the correct Diagnostics section in Home Assistant UI
- Files Modified:
custom_components/econet300/binary_sensor.py
- Technical Details: Added EntityCategory import and explicit entity_category property with proper type annotations
🛠️ Technical Changes
- Type Annotations: Fixed mypy type checking errors for _attr_is_on property
- Entity Category Property: Added explicit entity_category property to ensure proper category inheritance
- Code Quality: All pre-commit checks pass including mypy static type checking