Compare commits

..

5 Commits

Author SHA1 Message Date
Luke Bonaccorsi 6843472474 fix: re-add consumables code 2024-03-22 00:35:35 +00:00
Luke Morrigan 6cf2274e50 Revert "Fix the missing error key"
This reverts commit 8e6e311bfc.
2024-03-22 00:30:57 +00:00
Luke Morrigan 6e50fd95f8 Revert "Add debug infos"
This reverts commit 4f1bdb3bac.
2024-03-22 00:30:57 +00:00
Luke Morrigan 8b09c06739 Revert "Add debug"
This reverts commit 94ae2b55ea.
2024-03-22 00:30:57 +00:00
Luke Morrigan 479568b2a6 Revert "Fix set fan speed"
This reverts commit 8676cb3fad.
2024-03-22 00:30:57 +00:00
1 changed files with 2 additions and 3 deletions

View File

@ -14,7 +14,6 @@
"""Config flow for Eufy Robovac integration."""
from __future__ import annotations
import json
import logging
from typing import Any, Optional
@ -139,6 +138,7 @@ def get_eufy_vacuums(self):
if item["device"]["product"]["appliance"] == "Cleaning":
try:
device = tuya_client.get_device(item["device"]["id"])
_LOGGER.debug("Robovac schema: {}".format(device["schema"]))
vac_details = {
CONF_ID: item["device"]["id"],
@ -153,11 +153,10 @@ def get_eufy_vacuums(self):
self[CONF_VACS][item["device"]["id"]] = vac_details
except:
_LOGGER.debug(
"Skipping vacuum {}: found on Eufy but not on Tuya. Eufy details:".format(
"Vacuum {} found on Eufy, but not on Tuya. Skipping.".format(
item["device"]["id"]
)
)
_LOGGER.debug(json.dumps(item["device"], indent=2))
return response