Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ data:
- **Energy data not updating** — Ensure "Enable daily energy sensors" is checked in the integration options. Note that energy data resets daily.
- **Current power seems inaccurate** — Current power is extrapolated from the daily energy reading and may not reflect instantaneous power accurately.

### Aquarea
If no thermostat/climate entity appears for your Aquarea monoblock (e.g. WH-SDC0509 + WH-WDG), the device may report no zones to the integration. Enable debug logging — the number of detected zones is logged at startup. Zone availability depends on the upstream aioaquarea library.

---

## Dependencies
Expand Down
25 changes: 25 additions & 0 deletions custom_components/panasonic_cc/aquarea/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ async def async_setup_aquarea(
aquarea_coordinators_uninitialized: list[tuple[AquareaDeviceCoordinator, AquareaDeviceInfo]] = []

for aquarea_device in aquarea_devices:
_LOGGER.debug(
"Aquarea device discovered: id=%s name=%s",
getattr(aquarea_device, "id", None),
aquarea_device.name,
)
try:
aquarea_coordinator = AquareaDeviceCoordinator(
hass, config, aquarea_api, aquarea_device
Expand All @@ -90,6 +95,26 @@ async def _init_aquarea(coordinator: AquareaDeviceCoordinator, device_info: Aqua
exc,
exc_info=True,
)
return

device = coordinator.device
zones = device.zones
zone_summary = [
{"zone_id": zone_id, "name": zone.name} for zone_id, zone in zones.items()
]
_LOGGER.debug(
"Aquarea device %s (model=%s, id=%s) reported %d zone(s): %s",
device.device_name,
device.model,
device.device_id,
len(zones),
zone_summary,
)
if not zones:
_LOGGER.info(
"Aquarea device %s reported no zones; no climate/thmostat entity will be created. Zone exposure may depend on the aioaquarea library.",
device.device_name,
)

await asyncio.gather(
*(_init_aquarea(coordinator, device_info) for coordinator, device_info in aquarea_coordinators_uninitialized),
Expand Down
5 changes: 5 additions & 0 deletions custom_components/panasonic_cc/aquarea/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,4 +301,9 @@ async def async_setup_entry(
),
)
)
_LOGGER.debug(
"Aquarea climate: created %d climate entity(ies) across %d coordinator(s)",
len(entities),
len(aquarea_coordinators),
)
async_add_entities(entities)