-
-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
What version of Adaptive Cover are you using?
1.4.5
What version of Home Assistant are you using?
2025.12.0
Checklist
- I have filled out the issue template to the best of my ability.
- This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
- This issue is not a duplicate issue of currently previous issues..
Describe the issue
AttributeError on OptionsFlowHandler after recent Home Assistant update
Description
Hello,
Since a recent Home Assistant update, the adaptive_cover plugin generates an error in the logs when accessing options or creating the configuration flow. The plugin worked perfectly before this update, and I have not modified any plugin files.
Relevant Logs
Error handling request from *.*.*.* Traceback (most recent call last): ... File "/config/custom_components/adaptive_cover/config_flow.py", line 640, in init self.config_entry = config_entry AttributeError: property 'config_entry' of 'OptionsFlowHandler' object has no setter
Analysis
- The error originates from
OptionsFlowHandler.__init__. - The code attempts to assign
config_entrywhile the property is defined as@propertywithout a setter. - The issue is triggered by Home Assistant calling
async_get_options_flow, suggesting a compatibility problem with the current HA version. - The plugin itself has not been modified, indicating the root cause is likely a recent Home Assistant update that changed how
async_get_options_flowworks.
Impact
- Unable to modify the component options in Home Assistant.
- The error appears frequently in logs but does not necessarily break the main functionality of the covers.
Environment
- Home Assistant version: [2025.12]
- Python version: 3.13
adaptive_coverversion: [1.4.5]- Installation: Custom Component (HACS or manual)
Steps to Reproduce
- Install
adaptive_coveron a recent Home Assistant version. - Go to Settings → Devices & Services → Integrations → Adaptive Cover → Options.
- Observe the error in the logs and inability to modify options.
Expected Behavior
- The options flow should open without errors, allowing configuration of the component.
Suggested Fix
In config_flow.py, store config_entry in an internal attribute instead of assigning directly to the property:
class OptionsFlowHandler:
def __init__(self, config_entry):
self._config_entry = config_entry # use an internal attributekoenmichiels8, stopwatch2208, jubepue and pkolbus
Metadata
Metadata
Assignees
Labels
No labels