Skip to content

Release Notes - v0.0.10

Pre-release
Pre-release

Choose a tag to compare

@Screaminlean Screaminlean released this 29 May 13:57

🎨 UX Improvement Release

Enhanced Time Display - Duplicate Removal

Issue: When packed time values contained duplicate times, they were displayed redundantly (e.g., "07:30, 07:30" instead of just "07:30"), creating visual clutter in the UI.

Resolution: Implemented intelligent deduplication that detects and removes duplicate time values while preserving order for genuinely different times.

What's Changed

  • 🎯 Cleaner Display: Identical time values are now shown once instead of repeated
  • Smart Deduplication: Preserves order and shows all unique times when they differ
  • 🔧 Order Preservation: When multiple distinct times exist, they're displayed in the correct sequence
  • 💡 Simplified UX: Less visual noise when viewing time configuration fields

Example Improvements

Single Time (Most Common):

  • Raw Data: 27000\027000\0Europe/London\00
  • Before: 07:30, 07:30
  • After: 07:30

Multiple Different Times:

  • Raw Data: 27000\068400\0Europe/London\00
  • Before: 07:30, 19:00
  • After: 07:30, 19:00 (unchanged, both are unique)

Mixed Duplicates:

  • Raw Data: 27000\027000\068400\0Europe/London\00
  • Before: 07:30, 07:30, 19:00
  • After: 07:30, 19:00 (duplicate removed)

Technical Details

  • Deduplication Logic: Uses order-preserving list to track unique values
  • Fallback Handling: If all times are identical, displays single value
  • Multiple Distinct Times: Comma-separated format maintained when genuinely different
  • State Attributes: Full decoded_times array still visible for debugging

Affected Entities

All packed time text entities benefit from this improvement:

  • V32, V34, V36, V38, V40, V42, V44, V46 (Yellow Channel Season Times)
  • V92, V94, V96, V98, V100, V102, V104, V106 (Blue Channel Season Times)

Files Modified

How to Update

  1. Via HACS:

    • Go to HACS → Integrations
    • Find "HA Microclimate"
    • Click "Update" to v0.0.10
    • Restart Home Assistant
  2. Changes Take Effect Immediately:

    • After restart, time displays will automatically deduplicate
    • No integration reconfiguration needed

Upgrade Path

  • From v0.0.8: Update to v0.0.9 first (fixes null-byte parsing), or directly to v0.0.10
  • From v0.0.9: Direct upgrade, fully compatible