AI Automation Suggester — v1.3.2 (2025‑05‑03)
✨ What’s fixed
Type | Description
-- | --
Critical Bug | Coordinator crash Unexpected coordinator error: 'NoneType' object has no attribute 'update'.Root cause: the parent DataUpdateCoordinator reset self.data to None after it had been populated. The dictionary is now created after the super().__init__() call, and the “no‑suggestions” branch assigns a fresh dict instead of updating a possible None.
Stability | Added extra safeguards around provider error branches, so recoverable API failures no longer risk leaving self.data invalid.
🔧 Internal / developer notes
-
File touched:
custom_components/ai_automation_suggester/coordinator.py-
Moved initialization of
self.databelow the superclass constructor. -
Replaced
self.data.update({...})with direct assignment in the fallback path.
-
-
No schema, service or sensor changes—this is a pure bug‑fix release.
-
Thanks to @edwardd06, @gotttlieb and everyone reporting Issue #87 / #83.
🚀 How to update
-
Install v1.3.2 from HACS or copy the updated files manually.
-
Restart Home Assistant.
-
Trigger a “Generate Suggestions” service call to confirm the integration works without errors.