Skip to content
This repository was archived by the owner on Feb 5, 2026. It is now read-only.

Commit f397319

Browse files
fix: log eufy device info when device not found on tuya
1 parent 7e60ecd commit f397319

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

custom_components/robovac/config_flow.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
"""Config flow for Eufy Robovac integration."""
1616
from __future__ import annotations
17+
import json
1718

1819
import logging
1920
from typing import Any, Optional
@@ -138,7 +139,6 @@ def get_eufy_vacuums(self):
138139
if item["device"]["product"]["appliance"] == "Cleaning":
139140
try:
140141
device = tuya_client.get_device(item["device"]["id"])
141-
_LOGGER.debug("Robovac schema: {}".format(device["schema"]))
142142

143143
vac_details = {
144144
CONF_ID: item["device"]["id"],
@@ -153,10 +153,11 @@ def get_eufy_vacuums(self):
153153
self[CONF_VACS][item["device"]["id"]] = vac_details
154154
except:
155155
_LOGGER.debug(
156-
"Vacuum {} found on Eufy, but not on Tuya. Skipping.".format(
156+
"Skipping vacuum {}: found on Eufy but not on Tuya. Eufy details:".format(
157157
item["device"]["id"]
158158
)
159159
)
160+
_LOGGER.debug(json.dumps(item["device"], indent=2))
160161

161162
return response
162163

0 commit comments

Comments
 (0)