|
|
@@ -519,22 +519,26 @@ class ConfigFlowHandler(ConfigFlow, domain=DOMAIN):
|
|
|
"Local product id differs from cloud: %s",
|
|
|
self.__discovered_device.get("local_product_id"),
|
|
|
)
|
|
|
- try:
|
|
|
- self.init_cloud()
|
|
|
- model = await self.cloud.async_get_datamodel(
|
|
|
- self.__discovered_device.get("id"),
|
|
|
- )
|
|
|
- if model:
|
|
|
- _LOGGER.warning(
|
|
|
- "Partial cloud device spec:\n%s",
|
|
|
- log_json(model),
|
|
|
- )
|
|
|
- except Exception as e:
|
|
|
- _LOGGER.warning(
|
|
|
- "Unable to fetch data model from cloud: %s %s",
|
|
|
- type(e).__name__,
|
|
|
- e,
|
|
|
- )
|
|
|
+ # Don't log the partial cloud spec. It confuses users into
|
|
|
+ # thinking they do not need to download the full Query Things Data Model
|
|
|
+ # result.
|
|
|
+ #
|
|
|
+ # try:
|
|
|
+ # self.init_cloud()
|
|
|
+ # model = await self.cloud.async_get_datamodel(
|
|
|
+ # self.__discovered_device.get("id"),
|
|
|
+ # )
|
|
|
+ # if model:
|
|
|
+ # _LOGGER.warning(
|
|
|
+ # "Partial cloud device spec:\n%s",
|
|
|
+ # log_json(model),
|
|
|
+ # )
|
|
|
+ # except Exception as e:
|
|
|
+ # _LOGGER.warning(
|
|
|
+ # "Unable to fetch data model from cloud: %s %s",
|
|
|
+ # type(e).__name__,
|
|
|
+ # e,
|
|
|
+ # )
|
|
|
_LOGGER.warning(
|
|
|
"Device matches %s with quality of %d%%. LOCAL DPS: %s",
|
|
|
best_matching_type,
|