github ITSpecialist111/ai_automation_suggester 1.3.0
Version 1.3.0

latest releases: 1.4.2, 1.4.1, 1.4.0...
8 months ago

Thanks for the heads up!

AI Automation Suggester just got a lot safer, more dashboard‑friendly, and fully CI‑compliant. 🎉

✨ Highlights

  • Dashboard‑ready attributes
    Each sensor.ai_automation_suggestions_* now exposes:
    • description – plain‑text explanation of the idea
    • yaml_block – the YAML fence only
    • suggestions – full, un‑split text (legacy)
  • Rock‑solid provider code
    Missing‑method crashes and NoneType.area_id errors are gone.

🐛 Full Changelog

Type Item
Fix Remove stray Markdown fences in const.py, eliminating SyntaxError on HA start‑up
Fix Null‑safe look‑ups for area_id, device_id, etc.
Fix Always register process_with_* handlers for every provider; prevents object has no attribute errors
Enhancement Split suggestion payload into description and yaml_block attributes
Enhancement Cleaner error logging: first line now shows provider & reason

⚠️ Breaking Change

Dashboards that referenced

state_attr('sensor.ai_automation_suggestions_google', 'suggestions')
can stay as‑is (attribute still exists), but you probably want the cleaner:

state_attr('sensor.ai_automation_suggestions_google', 'description')
state_attr('sensor.ai_automation_suggestions_google', 'yaml_block')

⬆️ Upgrade Guide
Update via HACS or pull the latest release zip into custom_components/ai_automation_suggester/.

Restart Home Assistant.

Verify one clean “Setup complete” log line (no tracebacks).

Adjust dashboards to the new attributes (optional).

Thanks to everyone who reported issues, tested fixes 🙌

Don't miss a new ai_automation_suggester release

NewReleases is sending notifications on new releases.