🎯 Main Features Added
1. Entity Category Support
- Added
entity_categoryto all sensor types (input, calculated, binary, number) - Improved organization in Home Assistant UI
- Proper categorization of diagnostic vs. control entities
2. Holding Registers with Enum Support
- Fixed holding register implementation with proper enum dropdown support
- Added "Operation mode" holding register at address 2 (Daikin doc -1 offset)
- Added "Quiet mode operation" holding register at address 8
- User-friendly enum options in Home Assistant UI
3. New Components Added
- Select component (
select.py) - For enum-based registers - Number component (
number.py) - For holding register control - Enhanced sensor support with proper device assignment
4. Technical Improvements
- Fixed import issues and blocking calls in
async_forward_entry_setups - Implemented proper device_info assignment for all entities
- Ensured holding registers appear as controllable number entities
- Deleted duplicate files and fixed domain issues
🔄 Key Changes by File
const.py
- Major expansion with holding registers and enum maps
- Added comprehensive register definitions
- Enhanced entity categorization
coordinator.py
- Improved async handling
- Better error management
- Enhanced register processing
New Files
select.py- Enum dropdown supportnumber.py- Number entity control- Enhanced
binary_sensor.py
Removed Files
custom_components/sensor.py(duplicate)- Cleaned up old manifest
🎨 UI Improvements
- Holding registers now appear as controllable number entities
- Enum dropdowns for mode selection
- Proper device grouping in Home Assistant
- Entity categories for better organization
🔧 Technical Fixes
- Domain fixes and duplicate file cleanup
- Import resolution for async operations
- Device info consistency across all entities
- Register offset corrections (Daikin doc -1 offset)
📝 Impact
This commit represents a major enhancement to the integration, adding:
- Proper UI controls for holding registers
- Enum support for mode selection
- Comprehensive entity management
- Better user experience in Home Assistant
The integration now properly displays holding registers as controllable number entities with enum dropdowns in Home Assistant UI under the correct device.