v1.4.1
🔧 Critical Bug Fix: OptionsFlow AttributeError
This release fixes a critical error that prevented users from accessing the options/configuration menu for existing integrations.
Fixed
- ✅ AttributeError Fix: Fixed "property 'config_entry' of 'OptionsFlowHandler' object has no setter" error
- ✅ OptionsFlow Initialization: Corrected
OptionsFlowHandler.__init__()to follow Home Assistant's OptionsFlow pattern - ✅ Configuration Access: Users can now access the options menu without errors
Technical Details
- Removed manual
config_entryparameter fromOptionsFlowHandler.__init__() - The
config_entryproperty is automatically provided by Home Assistant'sOptionsFlowbase class - Updated
async_step_init()to initialize counters fromself.config_entry.optionson first call - The
config_entryproperty is read-only and should not be assigned in__init__
Who Should Upgrade?
All users should upgrade to v1.4.1 immediately if experiencing errors when trying to configure existing integrations, especially:
- "AttributeError: property 'config_entry' of 'OptionsFlowHandler' object has no setter" errors
- HTTP 500 errors when clicking "Configure" on an integration
- Unable to add, edit, or delete counters through the options flow
Installation
- Update via HACS or manually install v1.4.1
- Restart Home Assistant
- Configuration menu should now work without errors