Skip to content

Deprecation warning: self.config_entry in options flow will stop working in HA 2025.12Β #110

@AllanPetersenDK

Description

@AllanPetersenDK

Perfekt πŸ‘
Her er den komplette GitHub-issue-pakke, klar til direkte copy-paste β€” med titel, beskrivelse og alt i Γ©t:


Title:

⚠️ Deprecation warning: self.config_entry in options flow will stop working in HA 2025.12


Body:

πŸ› Bug report: Deprecated use of self.config_entry in options flow

Describe the warning
After updating to the latest Home Assistant core, the following deprecation warning appears in the logs:

Detected that custom integration 'dantherm' sets option flow config_entry explicitly, which is deprecated at
custom_components/dantherm/config_flow.py, line 160:
    self.config_entry = config_entry
This will stop working in Home Assistant 2025.12.

Expected behavior
The Dantherm integration should use the updated Home Assistant API for options flows instead of assigning self.config_entry directly, to ensure compatibility with HA 2025.12 and later.

System details

  • Home Assistant Core version: 2025.11.1
  • Supervisor version: 2025.11.1
  • Operating System: 16.3
  • Frontend version: 20251105.0
  • Installation type: Home Assistant OS
  • Dantherm integration version: 1.0.0
  • Log location: /config/home-assistant.log

Steps to reproduce

  1. Go to Settings β†’ Devices & Services β†’ Dantherm β†’ Configure
  2. Open the integration options
  3. Check Settings β†’ System β†’ Logs
  4. The warning message appears as shown above

Additional context
The integration itself continues to work correctly, but the explicit assignment of self.config_entry will break once Home Assistant 2025.12 is released.
This issue is simply to provide early feedback so the options flow can be updated before that release.

Thank you for maintaining this excellent integration πŸ™

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions