Skip to content

Aqara Advanced Lighting v0.6.1

Choose a tag to compare

@absent42 absent42 released this 14 Jan 17:08
759b0ab

Aqara Advanced Lighting v0.6.1

What's New

Version 0.6.1 introduces preset backup and restore functionality, enhanced visual styling throughout the panel, and improved user experience with better contrast and color-coded feedback.

New Features

Preset Backup and Restore

Export Your Custom Presets

  • Backup all your user-created presets to a JSON file
  • One-click export from the My Presets tab
  • Preserves all effect, pattern, CCT sequence, and segment sequence configurations
  • Portable backup file you can save or share

Restore Presets from Backup

  • Import presets from backup files
  • Validates backup structure and version compatibility
  • Shows progress indicator during import
  • Displays count of successfully restored presets
  • Comprehensive error handling with descriptive messages

Use Cases

  • Backup before major changes
  • Transfer presets between Home Assistant instances
  • Share creative presets with others
  • Restore after reinstallation

Version Mismatch Detection

Frontend-Backend Version Monitoring

  • Automatic version comparison between frontend and backend
  • Warning banner displayed when versions don't match
  • Helps troubleshoot cache-related issues after updates
  • Clear instructions to resolve mismatches

Improvements

Visual Enhancements

Transition Curve Graph (Device Config Tab)

  • Increased graph size with reduced border padding
  • Better horizontal centering with balanced spacing
  • Improved grid contrast for visibility in all themes
  • Dynamic curve coloring based on curvature value:
    • Amber: Fast-then-slow curves (0.2-0.95)
    • Green: Linear curves (0.95-1.05)
    • Blue: Slow-then-fast curves (1.05-6.0)
  • Tighter mobile spacing for better fit on small screens

Color Pickers

  • RGB value display added to all color picker dialogs
  • Real-time color values shown as you select
  • Consistent with Home Assistant's color picker format
  • Styled with monospace font for easy reading

Panel Styling

  • Active tab text now uses brand color for better visibility
  • Secondary text color applied to all labels for better hierarchy
  • Improved hover effects on Export/Import buttons with primary color
  • Better visual consistency across all tabs

User Experience

Better Contrast and Readability

  • Graph grid lines use secondary text color with optimized opacity
  • Works well in both light and dark modes
  • Labels throughout panel use consistent secondary text color
  • Improved visual hierarchy and readability

Favorites Display

  • Redesigned favorites with button-style layout
  • Icon-based visual design
  • Color-coded state indicators
  • Hover effects with smooth transitions
  • Better touch targets for mobile users

Documentation

Comprehensive Update Guide

  • New "Updating" section in README
  • Step-by-step HACS update instructions
  • Version mismatch troubleshooting guide
  • Cache clearing instructions for:
    • Desktop browsers (Windows, Mac, Linux)
    • Mobile apps (iOS and Android)
  • Manual update instructions

Screenshots

  • Added comprehensive panel screenshots to README
  • Visual documentation for all seven tabs
  • Updated integration logo

Bug Fixes

  • Fixed graph container horizontal overflow on mobile
  • Resolved canvas padding inconsistencies
  • Improved responsive layout for small screens

Technical Changes

Frontend

  • New backup/restore UI in My Presets tab
  • Enhanced transition-curve-editor component with dynamic coloring
  • Improved styles.ts with better color management
  • Added RGB color display to effect, pattern, and segment editors
  • Updated translations for backup/restore messages

Backend

  • New import_presets and export_presets API endpoints
  • Backup file validation with version checking
  • Error handling for malformed backup files
  • Preset serialization and deserialization support

Breaking Changes

None. This release is fully backward compatible with v0.6.0.

Compatibility

  • All features and APIs remain unchanged from v0.6.0
  • All existing presets and configurations are preserved
  • No configuration changes required
  • Preset backup files are forward-compatible

Requirements

  • Home Assistant 2025.12.0 or newer
  • MQTT integration configured and running
  • Zigbee2MQTT 2.7.2 or newer
  • Supported Aqara devices:
    • T1 Ceiling Light (ACN031) - 20 segments
    • T1M Ceiling Light (ACN032) - 26 segments
    • T1 LED Strip (ACN132) - Variable (5 segments/meter, 1-10m)
    • T2 RGB Bulb (AGL001/AGL003/AGL005/AGL007)
    • T2 CCT Bulb (AGL002/AGL004/AGL006/AGL008)

Installation

New Installation

Install via HACS:

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Or manually copy the custom_components/aqara_advanced_lighting folder to your Home Assistant custom_components directory and restart.

Upgrade from v0.6.0

  1. Update the integration through HACS
  2. Restart Home Assistant
  3. Clear your browser cache (important - see instructions in README)
    • Desktop: Ctrl + Shift + R (Windows/Linux) or Cmd + Shift + R (Mac)
    • Mobile: Settings → Apps → Home Assistant → Clear cache
  4. If you see a version mismatch warning, perform a hard refresh or clear cache again

All existing presets and configurations are preserved during the update.

Migration Notes

From v0.6.0 to v0.6.1

  • No migration required
  • Existing presets work without changes
  • New backup/restore feature is immediately available
  • Clear browser cache to see styling improvements

Backup Your Presets
After updating, consider creating a backup of your custom presets using the new Export Presets button in the My Presets tab. This ensures you can restore them if needed.

Known Issues

None at this time.

Full Changelog

View full changelog

Support


If you find this integration useful, please star the repository ⭐

Buy Me A Coffee