Skip to content

v1.4.2 - Diagnostics Timestamp Fix

Choose a tag to compare

@atacamalabs atacamalabs released this 12 Feb 11:22
· 20 commits to main since this release

🐛 Bugfix Release

Fixes another error when downloading diagnostics in v1.4.1.

Fixed

  • Diagnostics timestamp error - Fixed AttributeError: 'str' object has no attribute 'isoformat'
    • Coordinator data may contain timestamps as strings or datetime objects
    • Now checks the type before converting
    • Handles both string and datetime timestamps gracefully

Changes

  • Update: diagnostics.py - Fix timestamp type handling
  • Version: 1.4.1 → 1.4.2

Installation

Update to v1.4.2:

  1. Via HACS: Update Serac to v1.4.2
  2. Or manually: cd /config/custom_components/serac && git pull
  3. Restart Home Assistant
  4. Try downloading diagnostics again

This should be the final fix!

Full Changelog: v1.4.1...v1.4.2