ADAX NEO WIFI Modern Electric Wall Heater, Home Automation Heating

I patched /usr/src/homeassistant/homeassistant/components/adax/config_flow.py to contain the following in async_step_local:


    async def async_step_local(
        self, user_input: dict[str, Any] | None = None
    ) -> ConfigFlowResult:
        ACCESS_TOKEN = "access_token"
        DEVICE_IP="device_ip"
        MAC_ID="mac_id"

        data_schema = vol.Schema(
            {vol.Required(ACCESS_TOKEN): str, vol.Required(DEVICE_IP): str, vol.Required(MAC_ID): str}
        )
        if user_input is None:
            return self.async_show_form(
                step_id="local",
                data_schema=data_schema,
            )
        access_token = user_input[ACCESS_TOKEN].replace(" ", "")
        device_ip = user_input[DEVICE_IP].replace(" ", "")
        mac_id = user_input[MAC_ID].replace(" ", "")
        unique_id = str(mac_id)
        await self.async_set_unique_id(unique_id)
        self._abort_if_unique_id_configured()

        return self.async_create_entry(
            title=unique_id,
            data={
                CONF_IP_ADDRESS: device_ip,
                CONF_TOKEN: access_token,
                CONF_UNIQUE_ID: unique_id,
                CONNECTION_TYPE: LOCAL,
            },
        )

This was just a hack to get it to work. I can create a PR later that is better integrated into the flow. With this I am able to enter my creds.

I am however getting an error that the device is not available on port 443? Curling the device ip at 443 gives a connection refused. Are there firmware changes? I bought this device today.

EDIT: looks like this is a firmware issue! ADAX - cannot set up heater via local connection · Issue #127076 · home-assistant/core · GitHub