Skip to content

Release Notes - v0.0.8

Pre-release
Pre-release

Choose a tag to compare

@Screaminlean Screaminlean released this 29 May 13:15

🎉 What's New

User-Friendly Time Display

Packed time fields now display in clean, readable HH:MM format instead of raw encoded values!

Before: 2700027000Europe/London0
After: 07:30

Users can now easily view and edit schedule times without needing to understand the device's internal encoding format.

🐛 Bug Fixes

Fixed Blocking I/O Warning

Resolved Home Assistant warning about blocking file I/O operations in the event loop:

  • Pin map data is now pre-loaded asynchronously using executor threads
  • No more read_text and open blocking warnings in logs
  • Improved integration startup performance

✨ Improvements

Enhanced Time Field Editing

  • Simple Input: Just type 07:30 to set a time
  • Automatic Preservation: Timezone and flag values are automatically preserved when editing
  • Flexible Formats: Accepts multiple input formats:
    • 07:30 - Simple time (recommended)
    • 07:30 | Europe/London | 0 - Full format
    • 2700027000Europe/London0 - Raw format (backward compatible)

Better Debugging

New state attributes for packed time fields:

  • decoded_times: Human-readable time values
  • timezone: Configured timezone
  • flag: Device flag value
  • friendly_format: Combined display format
  • raw_value: Original encoded value

🔧 Technical Details

Time Encoding

  • Format: Seconds from midnight (0-86399)
  • Example: 27000 seconds = 7.5 hours = 07:30
  • Chunk Size: 5 digits per time value
  • Bidirectional: Automatic conversion between display and device formats

Files Changed

  • pin_map_loader.py - Added async pre-loading helper
  • config_flow.py - Pre-load pin map before entity creation
  • select.py - Pre-load pin map before entity creation
  • text.py - Complete rewrite of BlynkPackedTimeText class
  • manifest.json - Version bump to 0.0.8
  • const.py - Version bump to 0.0.8

📦 Installation

HACS (Recommended)

  1. Open HACS → Integrations
  2. Find "HA Microclimate"
  3. Click "Update" to version 0.0.8
  4. Restart Home Assistant

Manual

Download from GitHub Releases and copy to ha_microclimate

⚠️ Breaking Changes

None - This release is fully backward compatible with 0.0.7

🙏 Contributors

Thank you to everyone who reported the blocking I/O warning and provided feedback on time field usability!