Skip to content

Error with local Rexel EasyConnect v2 #2164

Description

@adrienneo19

Description:

I'm trying to add my Rexel Energeasy Connect 2 gateway using the Overkiz Local API integration.

The cloud integration works without any issue (same account, same gateway), but the Local API setup always fails.

Environment
Home Assistant: HAOS 2026.7
Overkiz integration
Gateway: Rexel Energeasy Connect 2
Local API enabled
Local API token generated from the Energeasy Connect app
Gateway reachable at:
gateway-1212-7647-9199.local:8443
192.168.1.194:8443
Steps to reproduce
Add the Overkiz integration.
Select Local API.
Configure the gateway using the hostname or IP address.
Complete the setup.
Expected behavior

The gateway should be added successfully using the Local API.

Actual behavior

The config entry fails during setup with the following exception:

KeyError: 'auth_implementation'

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/overkiz/init.py", line 107, in async_setup_entry
client = await create_rexel_client(hass, entry)
File "/usr/src/homeassistant/homeassistant/components/overkiz/init.py", line 350, in create_rexel_client
await config_entry_oauth2_flow.async_get_config_entry_implementation(
File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 661
implementation = implementations.get(config_entry.data["auth_implementation"])

KeyError: 'auth_implementation'
Additional information
The Cloud API works correctly with the same account.
The issue only occurs with the Local API.
I removed and recreated the integration several times and restarted Home Assistant.
The error happens with both the .local hostname and the gateway IP address.

It looks like the Local API setup is trying to access an OAuth field (auth_implementation) that does not exist in the config entry, suggesting the Rexel Local API flow may incorrectly reuse part of the cloud authentication setup.

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