Skip to content

HWS-only accounts are rejected by config flow as “No devices found” #499

Description

@123Orion123

Checklist

  • The account and device work in the official Panasonic Comfort Cloud app.
  • This report covers one issue.
  • I searched the existing issues and pull requests for HWS, no_devices, has_hws_devices, HE-UM40CR and HE-UM60CR.

Description

Thank you for adding standalone HWS support in 2026.8.3.

While testing the new support with an HE-UM60CR on an account that appears to contain only the standalone hot-water system and no conventional Panasonic air conditioners, the configuration flow reports:

No devices found

Authentication succeeds and ApiClient.start_session() completes without an observed authentication, MFA, HTTP, JSON or dependency exception, but no config entry is created.

This appears to be a small device-presence-check oversight in the new HWS support.

Environment

  • Home Assistant: 2026.8.2
  • HACS: 2.0.5
  • panasonic_cc: 2026.8.3
  • aio-panasonic-comfort-cloud: 2026.8.4
  • Device: Panasonic HE-UM60CR standalone CO₂ hot-water system
  • Account configuration: standalone HWS, with no known conventional Panasonic AC devices

Steps to reproduce

  1. Use a Panasonic Comfort Cloud account containing a standalone HWS device and no conventional AC devices.
  2. Install panasonic_cc 2026.8.3.
  3. Add the Panasonic Comfort Cloud integration.
  4. Authenticate successfully.
  5. Observe “No devices found”.
  6. Confirm that no config entry is created.

The HE-UM60CR remains visible and functional in the official Comfort Cloud app under the same account.

Expected behaviour

A session containing a recognized standalone HWS should pass config-flow validation and create a config entry, allowing the HWS setup path to run.

Actual behaviour

The config flow treats the normal devices list as empty and returns no_devices, even when the API has separately classified HWS devices.

Root-cause analysis

In the current config flow, _async_try_login() performs this check:

devices = api.get_devices()

if not devices and not api.has_unknown_devices:
    errors["base"] = "no_devices"

Source:

https://github.com/sockless-coding/panasonic_cc/blob/master/custom_components/panasonic_cc/config_flow.py#L119-L136

aio-panasonic-comfort-cloud treats standalone HWS devices as a separate device family:

Consequently, for any HWS-only account classified by the library:

  • devices is empty
  • has_unknown_devices is false
  • has_hws_devices is true

but the current config-flow condition does not consider has_hws_devices.

Runtime setup already uses the broader check:

if (
    not devices
    and not api.has_unknown_devices
    and not api.has_aquarea_devices
    and not api.has_hws_devices
):

Source:

https://github.com/sockless-coding/panasonic_cc/blob/master/custom_components/panasonic_cc/__init__.py#L139-L143

This suggests the corresponding config-flow update was missed when the standalone-HWS support was added.

Evidentiary note

We did not capture the raw /device/group response from this setup attempt. We therefore cannot claim as directly observed that this particular response contained the HE-UM60CR with deviceType: "11".

What was observed is that the group request completed without a logged request/parsing exception and the flow subsequently returned no_devices. The HE-UM60CR continued to work in the official app.

Independently of that uncaptured response, the source-level config-flow bug is deterministic whenever the library has classified an HWS-only account such that has_hws_devices == True.

Suggested fix

Mirror the runtime device-presence check in the config flow:

if (
    not devices
    and not api.has_unknown_devices
    and not api.has_aquarea_devices
    and not api.has_hws_devices
):
    errors["base"] = "no_devices"

Both initial setup and reconfiguration use _async_try_login(), so this should cover both config-flow paths.

Suggested regression cases:

  • HWS present, normal/unknown/Aquarea devices absent → allow setup
  • Aquarea present, other families absent → allow setup
  • All device families absent → return no_devices

I’m happy to test a fix against a real HE-UM60CR/HWS-only account.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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