github jontofront/ecoNET-300-Home-Assistant-Integration v1.1.10

latest releases: v1.1.11-ecosol-beta.1, v1.1.11ecosol301, v1.1.11b2...
one day ago

Added

  • Modern Icon Translation System: Implemented comprehensive icon management using Home Assistant's recommended approach
    • New Icon Management: All icons now managed through icons.json with proper translation keys
    • State-Based Icons: Added dynamic icons that change based on entity state (status_co, status_cwu, mode, lambda_status)
    • Multi-Language Support: Icons properly integrated with translation system for internationalization
    • Icon Validation: All Material Design Icons validated and replaced invalid ones with proper alternatives

Changed

  • Icon System Architecture: Replaced old icon constants with modern translation-based approach

    • Before: Icons defined in const.py as hardcoded constants
    • After: Icons managed in icons.json with translation key mapping
    • Benefits: Better maintainability, easier customization, Home Assistant best practices compliance
  • Pre-commit Configuration: Streamlined development workflow

    • Removed: codespell hook that was causing false positives
    • Kept: ruff (linting), ruff-format (formatting), mypy (type checking)
    • Impact: Cleaner, faster pre-commit checks with focus on essential quality metrics

Fixed

  • Invalid Material Design Icons: Resolved 20+ non-existent icon references

    • Problem: Many icons like mdi:screw-lag, mdi:fire-off, mdi:gauge-off didn't exist in MDI database
    • Solution: Replaced with valid alternatives like mdi:gauge, mdi:fire, mdi:conveyor-belt
    • Impact: All entities now display proper icons in Home Assistant UI
  • Icon Display Issues: Fixed entities not showing icons in UI

    • Problem: Some entities like feeder_works and contact_gzc had missing or broken icons
    • Solution: Implemented proper translation key mapping and icon validation
    • Impact: Consistent icon display across all entity types

[v1.1.9] - 2025-01-27

Changed

  • Logging Level Refactoring: Major refactoring of logging levels throughout the integration
  • VS Code Settings Optimization: Streamlined development environment configuration

Fixed

  • Git Pre-commit Hook Issues: Fixed file formatting issues that caused pre-commit hook failures
    • Problem: Pre-commit hooks were failing due to trailing whitespace and end-of-file formatting
    • Solution: Cleaned up file formatting to meet git hook requirements
    • Impact: All pre-commit hooks now pass successfully, ensuring code quality
    • Files Modified: .vscode/settings.json

Technical Changes

  • Logging Refactoring: Systematic review and adjustment of log levels across the codebase
  • VS Code Configuration: Streamlined Ruff settings to use native VS Code support
  • Git Hooks: Ensured all pre-commit hooks pass for consistent code quality
  • Development Environment: Cleaner, more maintainable VS Code configuration
  • Code Quality: Improved logging practices for better debugging and monitoring

What's Changed

Full Changelog: v1.1.9...v1.1.10

Don't miss a new ecoNET-300-Home-Assistant-Integration release

NewReleases is sending notifications on new releases.