hacs / integration

HACS gives you a powerful UI to handle downloads of all your custom needs.
https://hacs.xyz
MIT License
5.02k stars 1.24k forks source link

Cant load some integrations in latest update v1.25.3 #2721

Closed milindpatel63 closed 2 years ago

milindpatel63 commented 2 years ago

System Health details

System Health

version core-2022.5.5
installation_type Home Assistant Container
dev false
hassio false
docker true
user root
virtualenv false
python_version 3.9.9
os_name Linux
os_version 5.10.60.1-microsoft-standard-WSL2
arch x86_64
timezone Asia/Calcutta
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4575 Installed Version | 1.25.2 Stage | running Available Repositories | 1050 Downloaded Repositories | 3
AccuWeather can_reach_server | ok -- | -- remaining_requests | 16
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Dashboards dashboards | 1 -- | -- resources | 0 views | 3 mode | storage
Xiaomi Miot Auto component_version | 0.6.6 -- | -- can_reach_server | ok can_reach_spec | ok logged_accounts | 1 total_devices | 3

Checklist

Describe the issue

After the latest update v1.25.3, after i click to add a new integration, many of the integrations just stuck on loading without loading their description. And due to this, we can't install them, since the download integration button also doesn't load.

And after they get stuck, if we close it, then nothing happens if we clock again on that specific integration until we restart home assistant.

I tried changing DNS server, restarting home assistant, restarting my PC, but nothing worked.

I had to revert to previous version of HACS to fix this issue and install those integrations.

Some integrations that are affected that I have seen,

  1. Xiaomi miot
  2. Xiaomi miot auto
  3. Yandex.station

I didn't test more. all the above just get stuck on loading in the latest version of HACS

Reproduction steps

  1. Update to HACS v1.25.3
  2. Go to add a new integration from repositories
  3. try to add any of the mentioned integration that have issues. (Xiaomi miot, Xiaomi miot auto, Yandex.station)
    1. they will get stuck on loading and wont load.

Debug logs

2022-05-29 22:08:13 DEBUG (MainThread) [custom_components.hacs] <Integration custom-components/alexa_media_player> Running checks against v4.0.0

2022-05-29 22:08:14 DEBUG (MainThread) [custom_components.hacs] <HacsData async_write> Saving data

2022-05-29 22:08:14 DEBUG (MainThread) [custom_components.hacs] <HACSStore async_save_to_store> Did not store data for 'hacs.hacs'. Content did not change

2022-05-29 22:08:20 DEBUG (MainThread) [custom_components.hacs] Running update for AlexxIT/YandexStation

2022-05-29 22:08:20 DEBUG (MainThread) [custom_components.hacs] <Integration AlexxIT/YandexStation> Getting repository information

2022-05-29 22:08:21 DEBUG (MainThread) [custom_components.hacs] <Integration AlexxIT/YandexStation> Running checks against v3.10.0

2022-05-29 22:08:22 DEBUG (MainThread) [custom_components.hacs] 'states' is undefined

2022-05-29 22:08:23 DEBUG (MainThread) [custom_components.hacs] <HacsData async_write> Saving data

2022-05-29 22:08:23 DEBUG (MainThread) [custom_components.hacs] <HACSStore async_save_to_store> Did not store data for 'hacs.hacs'. Content did not change

In the above logs, the alexa media player repository loaded fine, but then after clicking on Yandex Station, it stuck on loading...

Again for xiaomi miot repository

2022-05-29 22:09:00 DEBUG (MainThread) [custom_components.hacs] Running update for ha0y/xiaomi_miot_raw

2022-05-29 22:09:00 DEBUG (MainThread) [custom_components.hacs] <Integration ha0y/xiaomi_miot_raw> Getting repository information

2022-05-29 22:09:01 DEBUG (MainThread) [custom_components.hacs] <Integration ha0y/xiaomi_miot_raw> Running checks against v1.4.3

2022-05-29 22:09:02 DEBUG (MainThread) [custom_components.hacs] <HacsData async_write> Saving data

2022-05-29 22:09:02 DEBUG (MainThread) [custom_components.hacs] <HACSStore async_save_to_store> Did not store data for 'hacs.hacs'. Content did not change


### Diagnostics dump

{
  "home_assistant": {
    "installation_type": "Home Assistant Container",
    "version": "2022.5.5",
    "dev": false,
    "hassio": false,
    "virtualenv": false,
    "python_version": "3.9.9",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Asia/Calcutta",
    "os_name": "Linux",
    "os_version": "5.10.60.1-microsoft-standard-WSL2",
    "run_as_root": true
  },
  "custom_components": {
    "hacs": {
      "version": "1.25.3",
      "requirements": [
        "aiogithubapi>=22.2.4"
      ]
    },
    "smartthinq_sensors": {
      "version": "0.22.0",
      "requirements": [
        "pycountry>=20.7.3",
        "xmltodict>=0.12.0",
        "chardet>=4.0.0"
      ]
    },
    "xiaomi_miot": {
      "version": "0.6.6",
      "requirements": [
        "construct==2.10.56",
        "python-miio>=0.5.6",
        "micloud>=0.3"
      ]
    }
  },
  "integration_manifest": {
    "codeowners": [
      "@ludeeus"
    ],
    "config_flow": true,
    "dependencies": [
      "http",
      "websocket_api",
      "frontend",
      "persistent_notification",
      "lovelace"
    ],
    "documentation": "https://hacs.xyz/docs/configuration/start",
    "domain": "hacs",
    "iot_class": "cloud_polling",
    "issue_tracker": "https://github.com/hacs/integration/issues",
    "name": "HACS",
    "requirements": [
      "aiogithubapi>=22.2.4"
    ],
    "version": "1.25.3",
    "is_built_in": false
  },
  "data": {
    "entry": {
      "entry_id": "e09882e688b2c8d709e15a9554d47039",
      "version": 1,
      "domain": "hacs",
      "title": "",
      "data": {
        "token": "**REDACTED**"
      },
      "options": {},
      "pref_disable_new_entities": false,
      "pref_disable_polling": false,
      "source": "user",
      "unique_id": null,
      "disabled_by": null
    },
    "hacs": {
      "stage": "running",
      "version": "1.25.3",
      "disabled_reason": null,
      "new": false,
      "startup": false,
      "categories": [
        "integration",
        "python_script",
        "theme",
        "plugin"
      ],
      "renamed_repositories": {
        "78wesley/Darkish-Theme": "78wesley/Home-Assistant-Darkish-Theme",
        "mf-social/ps-date-countdown": "point-4ward/ps-date-countdown",
        "9a4gl/hass-peltec": "9a4gl/hass-centrometal-boiler",
        "DarkSir23/sensor.mylar": "WillowMist/sensor.mylar",
        "nbogojevic/homeassistant-midea-dehumidifier-lan": "nbogojevic/homeassistant-midea-air-appliances-lan",
        "nikrolls/homeassistant-goldair-climate": "nicole-ashley/homeassistant-goldair-climate"
      },
      "archived_repositories": [],
      "ignored_repositories": [],
      "lovelace_mode": "storage",
      "configuration": {
        "appdaemon": false,
        "country": "ALL",
        "debug": false,
        "dev": false,
        "experimental": false,
        "netdaemon": false,
        "python_script": false,
        "release_limit": 5,
        "theme": false
      }
    },
    "custom_repositories": [],
    "repositories": [
      {
        "data": {
          "archived": false,
          "authors": [
            "@ludeeus"
          ],
          "category": "integration",
          "config_flow": true,
          "default_branch": "main",
          "description": "HACS gives you a powerful UI to handle downloads of all your custom needs.",
          "domain": "hacs",
          "downloads": 768,
          "etag_repository": "W/\"aac6064aeb8ed7c0f19fd0269544d5edbb2eb0a2fc305f8609cf25b663ea93ff\"",
          "file_name": "",
          "first_install": false,
          "full_name": "hacs/integration",
          "hide": false,
          "has_issues": true,
          "id": "172733314",
          "installed_commit": "b56e4ac",
          "installed_version": "1.25.3",
          "installed": true,
          "last_commit": "b56e4ac",
          "last_updated": "2022-05-29T13:31:13Z",
          "last_version": "1.25.3",
          "manifest_name": "HACS",
          "new": false,
          "open_issues": 0,
          "published_tags": [
            "1.25.3",
            "1.25.2",
            "1.25.1",
            "1.25.0",
            "1.24.5"
          ],
          "pushed_at": "2022-05-29T13:31:13",
          "releases": true,
          "selected_tag": null,
          "show_beta": false,
          "stargazers_count": 2623,
          "topics": [
            "community",
            "package-manager"
          ]
        },
        "integration_manifest": {
          "codeowners": [
            "@ludeeus"
          ],
          "config_flow": true,
          "dependencies": [
            "http",
            "websocket_api",
            "frontend",
            "persistent_notification",
            "lovelace"
          ],
          "documentation": "https://hacs.xyz/docs/configuration/start",
          "domain": "hacs",
          "iot_class": "cloud_polling",
          "issue_tracker": "https://github.com/hacs/integration/issues",
          "name": "HACS",
          "requirements": [
            "aiogithubapi>=22.2.4"
          ],
          "version": "0.0.0"
        },
        "repository_manifest": {
          "content_in_root": false,
          "country": [],
          "filename": "hacs.zip",
          "hacs": "0.19.0",
          "hide_default_branch": true,
          "homeassistant": "2022.4.0",
          "manifest": {
            "name": "HACS",
            "zip_release": true,
            "hide_default_branch": true,
            "homeassistant": "2022.4.0",
            "hacs": "0.19.0",
            "filename": "hacs.zip"
          },
          "name": "HACS",
          "persistent_directory": null,
          "render_readme": false,
          "zip_release": true
        },
        "ref": "1.25.3",
        "paths": {
          "localpath": "/config/custom_components/hacs",
          "local": "/config/custom_components/hacs",
          "remote": "custom_components/hacs"
        }
      },
      {
        "data": {
          "archived": false,
          "authors": [
            "@ollo69"
          ],
          "category": "integration",
          "config_flow": true,
          "default_branch": "master",
          "description": "HomeAssistant custom integration for SmartThinQ LG devices configurable with Lovelace User Interface.",
          "domain": "smartthinq_sensors",
          "downloads": 0,
          "etag_repository": "W/\"d5cd0a8a501769fb1836f291a2202872597708e27ab161d44cac6149b80f0043\"",
          "file_name": "",
          "first_install": false,
          "full_name": "ollo69/ha-smartthinq-sensors",
          "hide": false,
          "has_issues": true,
          "id": "250022973",
          "installed_commit": "7cf88f6",
          "installed_version": "v0.22.0",
          "installed": true,
          "last_commit": "7cf88f6",
          "last_updated": "2022-05-28T19:01:43Z",
          "last_version": "v0.22.0",
          "manifest_name": "SmartThinQ LGE Sensors",
          "new": false,
          "open_issues": 51,
          "published_tags": [
            "v0.22.0",
            "v0.21.2",
            "v0.21.1",
            "v0.21.0",
            "v0.20.2"
          ],
          "pushed_at": "2022-05-28T19:01:43",
          "releases": true,
          "selected_tag": null,
          "show_beta": false,
          "stargazers_count": 442,
          "topics": [
            "ac",
            "air-purifier",
            "climate",
            "dehumidifier",
            "dishwasher",
            "dryer",
            "fan",
            "lg",
            "lg-devices",
            "lge",
            "oven",
            "range",
            "refrigerator",
            "sensors",
            "smartthinq",
            "thinq",
            "washer"
          ]
        },
        "integration_manifest": {
          "domain": "smartthinq_sensors",
          "name": "SmartThinQ LGE Sensors",
          "documentation": "https://github.com/ollo69/ha-smartthinq-sensors",
          "issue_tracker": "https://github.com/ollo69/ha-smartthinq-sensors/issues",
          "dependencies": [],
          "codeowners": [
            "@ollo69"
          ],
          "requirements": [
            "pycountry>=20.7.3",
            "xmltodict>=0.12.0",
            "chardet>=4.0.0"
          ],
          "config_flow": true,
          "iot_class": "cloud_polling",
          "version": "0.22.0"
        },
        "repository_manifest": {
          "content_in_root": false,
          "country": [],
          "filename": null,
          "hacs": null,
          "hide_default_branch": false,
          "homeassistant": "2022.5.0",
          "manifest": {
            "name": "SmartThinQ LGE Sensors",
            "homeassistant": "2022.5.0"
          },
          "name": "SmartThinQ LGE Sensors",
          "persistent_directory": null,
          "render_readme": false,
          "zip_release": false
        },
        "ref": "v0.22.0",
        "paths": {
          "localpath": "/config/custom_components/smartthinq_sensors",
          "local": "/config/custom_components/smartthinq_sensors",
          "remote": "custom_components/smartthinq_sensors"
        }
      },
      {
        "data": {
          "archived": false,
          "authors": [
            "@al-one"
          ],
          "category": "integration",
          "config_flow": true,
          "default_branch": "master",
          "description": "Automatic integrate all Xiaomi devices to HomeAssistant via miot-spec, support Wi-Fi, BLE, ZigBee devices.",
          "domain": "xiaomi_miot",
          "downloads": 4197,
          "etag_repository": "W/\"7dd51c2dbd8e1473ae297c2a0bfb1a8f2553bec03be37ad4e1ba70eb6269fe32\"",
          "file_name": "",
          "first_install": false,
          "full_name": "al-one/hass-xiaomi-miot",
          "hide": false,
          "has_issues": true,
          "id": "318182014",
          "installed_commit": "ce99c80",
          "installed_version": "v0.6.6",
          "installed": true,
          "last_commit": "ce99c80",
          "last_updated": "2022-05-29T15:04:44Z",
          "last_version": "v0.6.6",
          "manifest_name": "Xiaomi Miot Auto",
          "new": false,
          "open_issues": 119,
          "published_tags": [
            "v0.6.6",
            "v0.6.5",
            "v0.6.4",
            "v0.6.2",
            "v0.6.1"
          ],
          "pushed_at": "2022-05-29T15:04:44",
          "releases": true,
          "selected_tag": null,
          "show_beta": false,
          "stargazers_count": 1173,
          "topics": [
            "iot",
            "miio",
            "miot",
            "miot-spec",
            "smart-home",
            "xiaoai",
            "xiaomi",
            "xiaomi-miot"
          ]
        },
        "integration_manifest": {
          "name": "Xiaomi Miot Auto",
          "domain": "xiaomi_miot",
          "version": "0.6.6",
          "config_flow": true,
          "iot_class": "cloud_polling",
          "documentation": "https://github.com/al-one/hass-xiaomi-miot",
          "issue_tracker": "https://github.com/al-one/hass-xiaomi-miot/issues",
          "codeowners": [
            "@al-one"
          ],
          "dependencies": [
            "http",
            "persistent_notification",
            "ffmpeg"
          ],
          "after_dependencies": [
            "homekit"
          ],
          "requirements": [
            "construct==2.10.56",
            "python-miio>=0.5.6",
            "micloud>=0.3"
          ]
        },
        "repository_manifest": {
          "content_in_root": false,
          "country": [],
          "filename": "xiaomi_miot.zip",
          "hacs": null,
          "hide_default_branch": false,
          "homeassistant": null,
          "manifest": {
            "name": "Xiaomi Miot Auto",
            "zip_release": true,
            "filename": "xiaomi_miot.zip",
            "render_readme": true
          },
          "name": "Xiaomi Miot Auto",
          "persistent_directory": null,
          "render_readme": true,
          "zip_release": true
        },
        "ref": "v0.6.6",
        "paths": {
          "localpath": "/config/custom_components/xiaomi_miot",
          "local": "/config/custom_components/xiaomi_miot",
          "remote": "custom_components/xiaomi_miot"
        }
      }
    ],
    "rate_limit": {
      "resources": {
        "core": {
          "limit": 5000,
          "used": 487,
          "remaining": 4513,
          "reset": 1653842900
        },
        "search": {
          "limit": 30,
          "used": 0,
          "remaining": 30,
          "reset": 1653842531
        },
        "graphql": {
          "limit": 5000,
          "used": 0,
          "remaining": 5000,
          "reset": 1653846071
        },
        "integration_manifest": {
          "limit": 5000,
          "used": 0,
          "remaining": 5000,
          "reset": 1653846071
        },
        "source_import": {
          "limit": 100,
          "used": 0,
          "remaining": 100,
          "reset": 1653842531
        },
        "code_scanning_upload": {
          "limit": 1000,
          "used": 0,
          "remaining": 1000,
          "reset": 1653846071
        },
        "actions_runner_registration": {
          "limit": 10000,
          "used": 0,
          "remaining": 10000,
          "reset": 1653846071
        },
        "scim": {
          "limit": 15000,
          "used": 0,
          "remaining": 15000,
          "reset": 1653846071
        }
      },
      "rate": {
        "limit": 5000,
        "used": 487,
        "remaining": 4513,
        "reset": 1653842900
      }
    }
  }
}
hacs-bot[bot] commented 2 years ago

Make sure you have read the issue guidelines and that you filled out the entire template.

If you have an issue identical to this, do not add comments like "same here", "i have this too", instead add a :+1: reaction to the issue description. Thanks! :+1: