v1.4.2 - Diagnostics Timestamp Fix
🐛 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:
- Via HACS: Update Serac to v1.4.2
- Or manually:
cd /config/custom_components/serac && git pull - Restart Home Assistant
- Try downloading diagnostics again
This should be the final fix!
Full Changelog: v1.4.1...v1.4.2