Summary
Version 1.2.4 of the AI Automation Suggester addresses upcoming Home Assistant deprecations by updating platform forwarding and options flow handling. Additionally, it enhances the Mistral AI provider configuration by allowing flexible model selection (defaulting to "mistral-large-latest"). These changes ensure the integration’s stability and compatibility with future Home Assistant releases.
Enhancements & Fixes
Deprecation Resolutions
-
Platform Forwarding Update:
Replaced the deprecatedasync_forward_entry_setupcall with the newasync_forward_entry_setupsmethod in__init__.py. This change ensures compatibility with Home Assistant 2025.6 and later. -
Options Flow Cleanup:
Removed the explicit assignment ofconfig_entryin the options flow handler inconfig_flow.py, addressing deprecation warnings for Home Assistant 2025.12.
Mistral AI Provider Improvements
-
Flexible Model Configuration:
Updated the Mistral AI setup to use an open text field for the model selection rather than fixed radio buttons.
The default model is now set to"mistral-large-latest", allowing users the flexibility to specify any model name as needed. -
Uniform Configuration Experience:
Adjusted the Mistral AI integration steps so that its configuration aligns with other supported providers, ensuring a consistent and intuitive setup process.
General Stability & Logging Enhancements
- Improved logging in validation and API interaction routines to facilitate easier troubleshooting.
- General code refinements ensure that the integration remains robust and future-proof.