8000 self.config_entry = config_entry. This will stop working in Home Assistant 2025.12 · Issue #306 · CJNE/ha-sunspec · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
self.config_entry = config_entry. This will stop working in Home Assistant 2025.12 #306
Open
@BRutuS81

Description

@BRutuS81

HI,

I did not find the exact same issue, hopefully I did not create it double.

1st one:
Logger: homeassistant.helpers.frame
Bron: helpers/frame.py:324
First seen: 18:33:01 (1 gebeurtenissen)
Last logged: 18:33:01

Detected that custom integration 'sunspec' sets option flow config_entry explicitly, which is deprecated at custom_components/sunspec/config_flow.py, line 142: self.config_entry = config_entry. This will stop working in Home Assistant 2025.12, please create a bug report at https://github.com/cjne/ha-sunspec/issues

2nd one:
Logger: homeassistant.const
Bron: helpers/deprecation.py:222
First seen: 11:42:43 (1 gebeurtenissen)
Last logged: 11:42:43

POWER_VOLT_AMPERE_REACTIVE was used from sunspec, this is a deprecated constant which will be removed in HA Core 2025.9. Use UnitOfReactivePower.VOLT_AMPERE_REACTIVE instead, please report it to the author of the 'sunspec' custom integration

/homeassistant/custom_components/sunspec/config_flow.py
def init(self, config_entry): Line 140
"""Initialize HACS options flow.""" Line 141
self.config_entry = config_entry Line 142
self.settings = {} Line 143
self.options = dict(config_entry.options) Line 144
self.coordinator = None Line 145

I use sunspec for my sma inverter. At this moment it is not possible to load the Energy Tab in Home Assistant due to this bug. About the 2nd bug; I already tried to rename POWER_VOLT_AMPERE_ACTIVE to VOLT_AMPERE_REACTIVE in the sensor.py file. No luck yet, but maybe also due to the 1st error (self.config_entry) which I really do not have a clue about.
When more info is needed please let me know.

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

      0