home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.43k stars 30.32k forks source link

Integrations that require a Python module installation fail to add on 2024.10.1 when installed through HACS #127966

Open joshuar opened 4 days ago

joshuar commented 4 days ago

The problem

Hey folks,

I’m in a bit of a pickle trying to add integrations from HACS.

I've recently started with a fresh install of 2024.10.1.

After successfully installing/downloading certain integrations through HACS, I am unable to add them to Home Assistant. When adding it, I get an error dialog with the message:

Config flow could not be loaded: {"message":"Invalid handler specified"}

image

In the Home Assistant log, it seems to correlate with a message like the following:

2024-10-08 21:40:31.362 INFO (SyncWorker_9) [homeassistant.util.package] Attempting install of meross_iot==0.4.7.3 2024-10-08 21:40:31.362 DEBUG (SyncWorker_9) [homeassistant.util.package] Running uv pip command: args=['uv', 'pip', 'install', '--quiet', 'meross_iot==0.4.7.3', '--index-strategy', 'unsafe-first-match', '--upgrade', '--constraint', '/usr/src/homeassistant/homeassistant/package_constraints.txt', '--target', '/config/deps'] 2024-10-08 21:40:40.992 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration meross_cloud: No module named 'meross_iot'

That’s specifically when trying to add the "Meross Integration" integration.

It seems integrations that need to install a Python module fail. Integrations that don’t need to install any Python modules, succeed, like themes.

For example, besides the "Meross Integration", the "Tapo Controller" integration also fails to get added, but the Python module in the ERROR log message is different.

Please let me know if you need any more information. As I can reproduce this in a container I can configure and retrieve whatever is needed.

Complete Logs:

home-assistant.tar.gz

Reproduction steps

  1. Set up a fresh 2024.10.1 container. For e.g.:
# Change to docker if needed...
podman run -d \
            --name homeassistant \
            --privileged \
            --restart=unless-stopped \
            -e TZ=Australia/Brisbane \
            -v ./home-assistant:/config \
            -v /run/dbus:/run/dbus:ro \
            --network=host \
            ghcr.io/home-assistant/home-assistant:2024.10.1
  1. Install HACS as per https://hacs.xyz/docs/use/download/download/#to-download-hacs
  2. Install one of the mentioned integrations through HACS, for example "Meross Integration" or "Tapo Controller".
  3. Try to add said integration to Home Assistant.

Cheers!

What version of Home Assistant Core has the issue?

core-2024.10.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

Diagnostics dump

{
  "home_assistant": {
    "installation_type": "Unknown",
    "version": "2024.10.1",
    "dev": false,
    "hassio": false,
    "virtualenv": false,
    "python_version": "3.12.4",
    "docker": false,
    "arch": "x86_64",
    "timezone": "Australia/Brisbane",
    "os_name": "Linux",
    "os_version": "6.10.12-200.fc40.x86_64",
    "run_as_root": false
  },
  "custom_components": {
    "hacs": {
      "documentation": "https://hacs.xyz/docs/configuration/start",
      "version": "2.0.1",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "meross_cloud": {
      "documentation": "https://www.home-assistant.io/components/meross_cloud",
      "version": "1.3.3",
      "requirements": [
        "meross_iot==0.4.7.3"
      ]
    },
    "tapo": {
      "documentation": "https://github.com/petretiandrea/home-assistant-tapo-p100",
      "version": "3.1.2",
      "requirements": [
        "plugp100==5.1.3"
      ]
    }
  },
  "integration_manifest": {
    "domain": "hacs",
    "name": "HACS",
    "after_dependencies": [
      "python_script"
    ],
    "codeowners": [
      "ludeeus"
    ],
    "config_flow": true,
    "dependencies": [
      "http",
      "websocket_api",
      "frontend",
      "persistent_notification",
      "lovelace",
      "repairs"
    ],
    "documentation": "https://hacs.xyz/docs/configuration/start",
    "iot_class": "cloud_polling",
    "issue_tracker": "https://github.com/hacs/integration/issues",
    "requirements": [
      "aiogithubapi>=22.10.1"
    ],
    "version": "2.0.1",
    "is_built_in": false
  },
  "setup_times": {
    "null": {
      "setup": 1.2402997526805848e-05
    },
    "01J9NYGMG1K33YZF6VXF512F8Z": {
      "wait_import_platforms": -0.20091842800320592,
      "wait_base_component": -0.0005247549997875467,
      "config_entry_setup": 0.22828936600126326
    }
  },
  "data": {
    "entry": {
      "created_at": "2024-10-08T11:34:00.449689+00:00",
      "data": {
        "token": "**REDACTED**"
      },
      "discovery_keys": {},
      "disabled_by": null,
      "domain": "hacs",
      "entry_id": "01J9NYGMG1K33YZF6VXF512F8Z",
      "minor_version": 1,
      "modified_at": "2024-10-08T11:34:00.449691+00:00",
      "options": {
        "experimental": true
      },
      "pref_disable_new_entities": false,
      "pref_disable_polling": false,
      "source": "user",
      "title": "",
      "unique_id": null,
      "version": 1
    },
    "hacs": {
      "stage": "running",
      "version": "2.0.1",
      "disabled_reason": null,
      "new": false,
      "startup": false,
      "categories": [
        "theme",
        "integration",
        "plugin",
        "template"
      ],
      "renamed_repositories": {},
      "archived_repositories": [],
      "ignored_repositories": [],
      "lovelace_mode": "storage",
      "configuration": {
        "appdaemon": false,
        "country": "ALL",
        "debug": false,
        "dev": false,
        "python_script": false,
        "release_limit": 5,
        "theme": false
      }
    },
    "custom_repositories": [],
    "repositories": [
      {
        "data": {
          "archived": false,
          "authors": [
            "@ludeeus"
          ],
          "category": "integration",
          "config_flow": false,
          "default_branch": null,
          "description": "HACS gives you a powerful UI to handle downloads of all your custom needs.",
          "domain": "hacs",
          "downloads": 313186,
          "etag_repository": "W/\"305d721bfb9633898fa1781a301dff658c3d0ff2cf40d3e2d349f8932a5791f3\"",
          "etag_releases": null,
          "file_name": "",
          "first_install": false,
          "full_name": "hacs/integration",
          "hide": false,
          "has_issues": true,
          "id": "172733314",
          "installed_commit": null,
          "installed_version": "2.0.1",
          "installed": true,
          "last_commit": null,
          "last_updated": "2024-10-07T14:36:04Z",
          "last_version": "2.0.1",
          "manifest_name": "HACS",
          "new": false,
          "open_issues": 0,
          "prerelease": null,
          "published_tags": [],
          "releases": true,
          "selected_tag": null,
          "show_beta": false,
          "stargazers_count": 5282,
          "topics": [
            "community",
            "package-manager"
          ]
        },
        "integration_manifest": {},
        "repository_manifest": {
          "content_in_root": false,
          "country": [],
          "filename": "hacs.zip",
          "hacs": "0.19.0",
          "hide_default_branch": true,
          "homeassistant": "2024.4.1",
          "manifest": {
            "name": "HACS",
            "zip_release": true,
            "hide_default_branch": true,
            "homeassistant": "2024.4.1",
            "hacs": "0.19.0",
            "filename": "hacs.zip"
          },
          "name": "HACS",
          "persistent_directory": null,
          "render_readme": false,
          "zip_release": true
        },
        "ref": null,
        "paths": {
          "localpath": "/config/custom_components/hacs",
          "local": "/config/custom_components/hacs",
          "remote": "custom_components"
        }
      },
      {
        "data": {
          "archived": false,
          "authors": [
            "@albertogeniola"
          ],
          "category": "integration",
          "config_flow": false,
          "default_branch": null,
          "description": "Custom component that leverages the Meross IoT library to integrate with Homeassistant",
          "domain": "meross_cloud",
          "downloads": 0,
          "etag_repository": "W/\"4e4f614b8b989f05d0f32fed275db661e94c9335cd1bc99b164efcf0986bfcb0\"",
          "etag_releases": null,
          "file_name": "",
          "first_install": false,
          "full_name": "albertogeniola/meross-homeassistant",
          "hide": false,
          "has_issues": true,
          "id": "191831638",
          "installed_commit": "812f589",
          "installed_version": "v1.3.3",
          "installed": true,
          "last_commit": "812f589",
          "last_updated": "2024-09-03T12:09:10Z",
          "last_version": "v1.3.3",
          "manifest_name": "Meross Cloud IoT",
          "new": false,
          "open_issues": 0,
          "prerelease": null,
          "published_tags": [],
          "releases": true,
          "selected_tag": null,
          "show_beta": false,
          "stargazers_count": 721,
          "topics": [
            "meross",
            "meross-homeassistant"
          ]
        },
        "integration_manifest": {},
        "repository_manifest": {
          "content_in_root": false,
          "country": [],
          "filename": null,
          "hacs": "1.6.0",
          "hide_default_branch": false,
          "homeassistant": "2024.1",
          "manifest": {
            "name": "Meross Integration",
            "hacs": "1.6.0",
            "homeassistant": "2024.1"
          },
          "name": "Meross Integration",
          "persistent_directory": null,
          "render_readme": false,
          "zip_release": false
        },
        "ref": null,
        "paths": {
          "localpath": "/config/custom_components/meross_cloud",
          "local": "/config/custom_components/meross_cloud",
          "remote": "custom_components"
        }
      },
      {
        "data": {
          "archived": false,
          "authors": [
            "@petretiandrea"
          ],
          "category": "integration",
          "config_flow": false,
          "default_branch": null,
          "description": "A custom integration to control Tapo devices from home assistant.",
          "domain": "tapo",
          "downloads": 0,
          "etag_repository": "W/\"9c39095aaf36143f5c05a3f85be1d7cf50f372010a4d8002f74b37d8b0e358d4\"",
          "etag_releases": null,
          "file_name": "",
          "first_install": false,
          "full_name": "petretiandrea/home-assistant-tapo-p100",
          "hide": false,
          "has_issues": true,
          "id": "323923603",
          "installed_commit": "c41351b",
          "installed_version": "3.1.4",
          "installed": true,
          "last_commit": "c41351b",
          "last_updated": "2024-10-07T19:02:00Z",
          "last_version": "3.1.4",
          "manifest_name": "TP-Link Tapo",
          "new": false,
          "open_issues": 0,
          "prerelease": null,
          "published_tags": [],
          "releases": true,
          "selected_tag": null,
          "show_beta": false,
          "stargazers_count": 813,
          "topics": [
            "energy",
            "l510",
            "l530",
            "l900",
            "monitoring",
            "p100",
            "p105",
            "p110",
            "smart-plug",
            "tapo",
            "tapo-device",
            "tapo-light-bulb",
            "tp-link",
            "tplink"
          ]
        },
        "integration_manifest": {},
        "repository_manifest": {
          "content_in_root": false,
          "country": [],
          "filename": null,
          "hacs": "1.6.0",
          "hide_default_branch": false,
          "homeassistant": "2024.0.0",
          "manifest": {
            "name": "Tapo Controller",
            "hacs": "1.6.0",
            "render_readme": true,
            "homeassistant": "2024.0.0"
          },
          "name": "Tapo Controller",
          "persistent_directory": null,
          "render_readme": true,
          "zip_release": false
        },
        "ref": null,
        "paths": {
          "localpath": "/config/custom_components/tapo",
          "local": "/config/custom_components/tapo",
          "remote": "custom_components"
        }
      }
    ],
    "rate_limit": {
      "resources": {
        "core": {
          "limit": 5000,
          "used": 0,
          "remaining": 5000,
          "reset": 1728392370
        },
        "search": {
          "limit": 30,
          "used": 0,
          "remaining": 30,
          "reset": 1728388830
        },
        "graphql": {
          "limit": 5000,
          "used": 0,
          "remaining": 5000,
          "reset": 1728392370
        },
        "integration_manifest": {
          "limit": 5000,
          "used": 0,
          "remaining": 5000,
          "reset": 1728392370
        },
        "source_import": {
          "limit": 100,
          "used": 0,
          "remaining": 100,
          "reset": 1728388830
        },
        "code_scanning_upload": {
          "limit": 1000,
          "used": 0,
          "remaining": 1000,
          "reset": 1728392370
        },
        "actions_runner_registration": {
          "limit": 10000,
          "used": 0,
          "remaining": 10000,
          "reset": 1728392370
        },
        "scim": {
          "limit": 15000,
          "used": 0,
          "remaining": 15000,
          "reset": 1728392370
        },
        "dependency_snapshots": {
          "limit": 100,
          "used": 0,
          "remaining": 100,
          "reset": 1728388830
        }
      },
      "rate": {
        "limit": 5000,
        "used": 0,
        "remaining": 5000,
        "reset": 1728392370
      }
    }
  }
}

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-10-08 21:44:19.016 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-10-08 21:44:19.017 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration meross_cloud which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-10-08 21:44:19.017 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration tapo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-10-08 21:44:19.186 INFO (MainThread) [homeassistant.setup] Setting up system_log
2024-10-08 21:44:19.216 INFO (MainThread) [homeassistant.setup] Setup of domain logger took 0.03 seconds
2024-10-08 21:44:19.216 INFO (MainThread) [homeassistant.setup] Setup of domain system_log took 0.03 seconds
2024-10-08 21:44:19.216 INFO (MainThread) [homeassistant.bootstrap] Setting up frontend: {'frontend'}
2024-10-08 21:44:19.216 INFO (MainThread) [homeassistant.setup] Setting up http
2024-10-08 21:44:19.216 INFO (MainThread) [homeassistant.setup] Setting up device_automation
2024-10-08 21:44:19.216 INFO (MainThread) [homeassistant.setup] Setup of domain device_automation took 0.00 seconds
2024-10-08 21:44:19.220 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.00 seconds
2024-10-08 21:44:19.220 INFO (MainThread) [homeassistant.setup] Setting up auth
2024-10-08 21:44:19.221 INFO (MainThread) [homeassistant.setup] Setup of domain auth took 0.00 seconds
2024-10-08 21:44:19.221 INFO (MainThread) [homeassistant.setup] Setting up config
2024-10-08 21:44:19.223 INFO (MainThread) [homeassistant.setup] Setup of domain config took 0.00 seconds
2024-10-08 21:44:19.223 INFO (MainThread) [homeassistant.setup] Setting up diagnostics
2024-10-08 21:44:19.224 INFO (MainThread) [homeassistant.setup] Setup of domain diagnostics took 0.00 seconds
2024-10-08 21:44:19.224 INFO (MainThread) [homeassistant.setup] Setting up file_upload
2024-10-08 21:44:19.224 INFO (MainThread) [homeassistant.setup] Setup of domain file_upload took 0.00 seconds
2024-10-08 21:44:19.224 INFO (MainThread) [homeassistant.setup] Setting up image_upload
2024-10-08 21:44:19.225 INFO (MainThread) [homeassistant.setup] Setup of domain image_upload took 0.00 seconds
2024-10-08 21:44:19.225 INFO (MainThread) [homeassistant.setup] Setting up repairs
2024-10-08 21:44:19.225 INFO (MainThread) [homeassistant.setup] Setup of domain repairs took 0.00 seconds
2024-10-08 21:44:19.225 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2024-10-08 21:44:19.225 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.00 seconds
2024-10-08 21:44:19.225 INFO (MainThread) [homeassistant.setup] Setting up api
2024-10-08 21:44:19.226 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.00 seconds
2024-10-08 21:44:19.226 INFO (MainThread) [homeassistant.setup] Setting up person
2024-10-08 21:44:19.227 INFO (MainThread) [homeassistant.setup] Setting up search
2024-10-08 21:44:19.227 INFO (MainThread) [homeassistant.setup] Setup of domain search took 0.00 seconds
2024-10-08 21:44:19.227 INFO (MainThread) [homeassistant.setup] Setup of domain person took 0.00 seconds
2024-10-08 21:44:19.227 INFO (MainThread) [homeassistant.setup] Setting up onboarding
2024-10-08 21:44:19.227 INFO (MainThread) [homeassistant.setup] Setup of domain onboarding took 0.00 seconds
2024-10-08 21:44:19.227 INFO (MainThread) [homeassistant.setup] Setting up lovelace
2024-10-08 21:44:19.228 INFO (MainThread) [homeassistant.setup] Setup of domain lovelace took 0.00 seconds
2024-10-08 21:44:19.228 INFO (MainThread) [homeassistant.setup] Setting up frontend
2024-10-08 21:44:19.230 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.00 seconds
2024-10-08 21:44:19.231 INFO (MainThread) [homeassistant.bootstrap] Setting up recorder: {'recorder'}
2024-10-08 21:44:19.231 INFO (MainThread) [homeassistant.setup] Setting up recorder
2024-10-08 21:44:19.233 INFO (MainThread) [homeassistant.components.http] Now listening on port 8123
2024-10-08 21:44:19.233 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.00 seconds
2024-10-08 21:44:19.273 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.04 seconds
2024-10-08 21:44:19.273 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 1: {'usb', 'websocket_api', 'api', 'network', 'repairs', 'zeroconf', 'http', 'bluetooth', 'auth', 'webhook', 'dhcp', 'ssdp', 'cloud'}
2024-10-08 21:44:19.274 INFO (MainThread) [homeassistant.setup] Setting up network
2024-10-08 21:44:19.276 INFO (MainThread) [homeassistant.setup] Setup of domain network took 0.00 seconds
2024-10-08 21:44:19.277 INFO (MainThread) [homeassistant.setup] Setting up webhook
2024-10-08 21:44:19.277 INFO (MainThread) [homeassistant.setup] Setup of domain webhook took 0.00 seconds
2024-10-08 21:44:19.292 INFO (MainThread) [homeassistant.setup] Setting up usb
2024-10-08 21:44:19.321 INFO (MainThread) [homeassistant.setup] Setup of domain usb took 0.03 seconds
2024-10-08 21:44:19.324 INFO (MainThread) [homeassistant.setup] Setting up zeroconf
2024-10-08 21:44:19.327 INFO (MainThread) [homeassistant.components.zeroconf] Starting Zeroconf broadcast
2024-10-08 21:44:19.327 INFO (MainThread) [homeassistant.setup] Setup of domain zeroconf took 0.00 seconds
2024-10-08 21:44:19.530 INFO (MainThread) [homeassistant.setup] Setting up dhcp
2024-10-08 21:44:19.530 INFO (MainThread) [homeassistant.setup] Setup of domain dhcp took 0.00 seconds
2024-10-08 21:44:19.562 INFO (MainThread) [homeassistant.setup] Setting up ssdp
2024-10-08 21:44:19.563 INFO (MainThread) [homeassistant.setup] Setup of domain ssdp took 0.00 seconds
2024-10-08 21:44:19.719 INFO (MainThread) [homeassistant.setup] Setting up cloud
2024-10-08 21:44:19.721 INFO (MainThread) [homeassistant.setup] Setting up ffmpeg
2024-10-08 21:44:19.721 INFO (MainThread) [homeassistant.setup] Setup of domain ffmpeg took 0.00 seconds
2024-10-08 21:44:19.721 INFO (MainThread) [homeassistant.setup] Setting up tts
2024-10-08 21:44:19.721 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.00 seconds
2024-10-08 21:44:19.723 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.00 seconds
2024-10-08 21:44:19.777 INFO (MainThread) [homeassistant.setup] Setting up bluetooth
2024-10-08 21:44:19.792 INFO (MainThread) [homeassistant.setup] Setup of domain bluetooth took 0.01 seconds
2024-10-08 21:44:19.796 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'map', 'met', 'trace', 'assist_pipeline', 'tag', 'input_button', 'cast', 'logbook', 'default_config', 'diagnostics', 'automation', 'system_health', 'stream', 'wake_word', 'mobile_app', 'stt', 'google_translate', 'person', 'zone', 'application_credentials', 'timer', 'homeassistant_alerts', 'sun', 'file_upload', 'persistent_notification', 'shopping_list', 'ffmpeg', 'input_select', 'blueprint', 'conversation', 'my', 'hardware', 'search', 'device_automation', 'input_text', 'onboarding', 'counter', 'hacs', 'media_source', 'input_number', 'script', 'radio_browser', 'input_datetime', 'tts', 'history', 'intent', 'analytics', 'backup', 'energy', 'schedule', 'input_boolean', 'scene', 'image_upload', 'lovelace', 'config'}
2024-10-08 21:44:19.796 INFO (MainThread) [homeassistant.setup] Setting up wake_word
2024-10-08 21:44:19.797 INFO (MainThread) [homeassistant.setup] Setup of domain wake_word took 0.00 seconds
2024-10-08 21:44:19.797 INFO (MainThread) [homeassistant.setup] Setting up stt
2024-10-08 21:44:19.797 INFO (MainThread) [homeassistant.setup] Setup of domain stt took 0.00 seconds
2024-10-08 21:44:19.797 INFO (MainThread) [homeassistant.setup] Setting up scene
2024-10-08 21:44:19.798 INFO (MainThread) [homeassistant.setup] Setup of domain scene took 0.00 seconds
2024-10-08 21:44:19.798 INFO (MainThread) [homeassistant.setup] Setting up blueprint
2024-10-08 21:44:19.798 INFO (MainThread) [homeassistant.setup] Setup of domain blueprint took 0.00 seconds
2024-10-08 21:44:19.798 INFO (MainThread) [homeassistant.setup] Setting up trace
2024-10-08 21:44:19.798 INFO (MainThread) [homeassistant.setup] Setup of domain trace took 0.00 seconds
2024-10-08 21:44:19.798 INFO (MainThread) [homeassistant.setup] Setting up input_button
2024-10-08 21:44:19.799 INFO (MainThread) [homeassistant.setup] Setup of domain input_button took 0.00 seconds
2024-10-08 21:44:19.799 INFO (MainThread) [homeassistant.setup] Setting up logbook
2024-10-08 21:44:19.799 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.00 seconds
2024-10-08 21:44:19.799 INFO (MainThread) [homeassistant.setup] Setting up history
2024-10-08 21:44:19.799 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.00 seconds
2024-10-08 21:44:19.799 INFO (MainThread) [homeassistant.setup] Setting up media_source
2024-10-08 21:44:19.800 INFO (MainThread) [homeassistant.setup] Setup of domain media_source took 0.00 seconds
2024-10-08 21:44:19.800 INFO (MainThread) [homeassistant.setup] Setting up stream
2024-10-08 21:44:19.800 INFO (MainThread) [homeassistant.setup] Setting up automation
2024-10-08 21:44:19.801 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.00 seconds
2024-10-08 21:44:19.801 INFO (MainThread) [homeassistant.setup] Setting up input_number
2024-10-08 21:44:19.802 INFO (MainThread) [homeassistant.setup] Setup of domain input_number took 0.00 seconds
2024-10-08 21:44:19.802 INFO (MainThread) [homeassistant.setup] Setting up system_health
2024-10-08 21:44:19.802 INFO (MainThread) [homeassistant.setup] Setup of domain system_health took 0.00 seconds
2024-10-08 21:44:19.802 INFO (MainThread) [homeassistant.setup] Setting up script
2024-10-08 21:44:19.804 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.00 seconds
2024-10-08 21:44:19.804 INFO (MainThread) [homeassistant.setup] Setting up zone
2024-10-08 21:44:19.805 INFO (MainThread) [homeassistant.setup] Setup of domain zone took 0.00 seconds
2024-10-08 21:44:19.805 INFO (MainThread) [homeassistant.setup] Setting up timer
2024-10-08 21:44:19.805 INFO (MainThread) [homeassistant.setup] Setup of domain timer took 0.00 seconds
2024-10-08 21:44:19.805 INFO (MainThread) [homeassistant.setup] Setting up input_boolean
2024-10-08 21:44:19.806 INFO (MainThread) [homeassistant.setup] Setup of domain input_boolean took 0.00 seconds
2024-10-08 21:44:19.806 INFO (MainThread) [homeassistant.setup] Setting up input_select
2024-10-08 21:44:19.806 INFO (MainThread) [homeassistant.setup] Setup of domain input_select took 0.00 seconds
2024-10-08 21:44:19.807 INFO (MainThread) [homeassistant.components.scene] Setting up homeassistant.scene
2024-10-08 21:44:19.835 INFO (MainThread) [homeassistant.setup] Setting up intent
2024-10-08 21:44:19.835 INFO (MainThread) [homeassistant.setup] Setup of domain intent took 0.00 seconds
2024-10-08 21:44:19.836 INFO (MainThread) [homeassistant.setup] Setting up conversation
2024-10-08 21:44:19.836 INFO (MainThread) [homeassistant.setup] Setup of domain conversation took 0.00 seconds
2024-10-08 21:44:19.836 INFO (MainThread) [homeassistant.setup] Setting up assist_pipeline
2024-10-08 21:44:19.836 INFO (MainThread) [homeassistant.setup] Setup of domain assist_pipeline took 0.00 seconds
2024-10-08 21:44:19.838 INFO (MainThread) [homeassistant.setup] Setting up map
2024-10-08 21:44:19.838 INFO (MainThread) [homeassistant.setup] Setup of domain map took 0.00 seconds
2024-10-08 21:44:19.839 INFO (MainThread) [homeassistant.setup] Setting up my
2024-10-08 21:44:19.839 INFO (MainThread) [homeassistant.setup] Setup of domain my took 0.00 seconds
2024-10-08 21:44:19.848 INFO (MainThread) [homeassistant.setup] Setting up met
2024-10-08 21:44:19.849 INFO (MainThread) [homeassistant.setup] Setup of domain met took 0.00 seconds
2024-10-08 21:44:19.853 INFO (MainThread) [homeassistant.setup] Setting up hardware
2024-10-08 21:44:19.870 INFO (MainThread) [homeassistant.setup] Setting up tag
2024-10-08 21:44:19.870 INFO (MainThread) [homeassistant.setup] Setup of domain tag took 0.00 seconds
2024-10-08 21:44:19.879 INFO (MainThread) [homeassistant.setup] Setting up input_text
2024-10-08 21:44:19.880 INFO (MainThread) [homeassistant.setup] Setup of domain input_text took 0.00 seconds
2024-10-08 21:44:19.881 INFO (MainThread) [homeassistant.setup] Setting up counter
2024-10-08 21:44:19.881 INFO (MainThread) [homeassistant.setup] Setup of domain counter took 0.00 seconds
2024-10-08 21:44:19.901 INFO (MainThread) [homeassistant.setup] Setting up energy
2024-10-08 21:44:19.901 INFO (MainThread) [homeassistant.setup] Setting up sensor
2024-10-08 21:44:19.901 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.00 seconds
2024-10-08 21:44:19.901 INFO (MainThread) [homeassistant.setup] Setup of domain energy took 0.00 seconds
2024-10-08 21:44:19.902 INFO (MainThread) [homeassistant.setup] Setup of domain hardware took 0.05 seconds
2024-10-08 21:44:19.908 INFO (MainThread) [homeassistant.setup] Setting up homeassistant_alerts
2024-10-08 21:44:19.909 INFO (MainThread) [homeassistant.setup] Setup of domain homeassistant_alerts took 0.00 seconds
2024-10-08 21:44:19.914 INFO (MainThread) [homeassistant.setup] Setup of domain stream took 0.11 seconds
2024-10-08 21:44:19.914 INFO (MainThread) [homeassistant.setup] Setting up sun
2024-10-08 21:44:19.915 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.00 seconds
2024-10-08 21:44:19.916 INFO (MainThread) [homeassistant.components.sensor] Setting up sun.sensor
2024-10-08 21:44:19.965 INFO (MainThread) [homeassistant.setup] Setting up hacs
2024-10-08 21:44:19.965 INFO (MainThread) [homeassistant.setup] Setup of domain hacs took 0.00 seconds
2024-10-08 21:44:19.965 INFO (MainThread) [custom_components.hacs] 
-------------------------------------------------------------------
HACS (Home Assistant Community Store)

Version: 2.0.1
This is a custom integration
If you have any issues with this you need to open an issue here:
https://github.com/hacs/integration/issues
-------------------------------------------------------------------

2024-10-08 21:44:19.970 INFO (MainThread) [custom_components.hacs] <HacsData restore> Restore started
2024-10-08 21:44:19.987 INFO (MainThread) [custom_components.hacs] <HacsData restore> Restore done
2024-10-08 21:44:19.988 INFO (MainThread) [custom_components.hacs] Enable category: integration
2024-10-08 21:44:19.988 INFO (MainThread) [custom_components.hacs] Enable category: plugin
2024-10-08 21:44:19.988 INFO (MainThread) [custom_components.hacs] Enable category: template
2024-10-08 21:44:19.988 INFO (MainThread) [custom_components.hacs] Enable category: theme
2024-10-08 21:44:20.022 INFO (MainThread) [homeassistant.setup] Setting up radio_browser
2024-10-08 21:44:20.022 INFO (MainThread) [homeassistant.setup] Setup of domain radio_browser took 0.00 seconds
2024-10-08 21:44:20.023 INFO (MainThread) [homeassistant.setup] Setting up input_datetime
2024-10-08 21:44:20.024 INFO (MainThread) [homeassistant.setup] Setup of domain input_datetime took 0.00 seconds
2024-10-08 21:44:20.025 INFO (MainThread) [homeassistant.setup] Setting up google_translate
2024-10-08 21:44:20.025 INFO (MainThread) [homeassistant.setup] Setup of domain google_translate took 0.00 seconds
2024-10-08 21:44:20.026 INFO (MainThread) [homeassistant.setup] Setting up application_credentials
2024-10-08 21:44:20.026 INFO (MainThread) [homeassistant.setup] Setup of domain application_credentials took 0.00 seconds
2024-10-08 21:44:20.032 INFO (MainThread) [homeassistant.setup] Setting up backup
2024-10-08 21:44:20.032 INFO (MainThread) [homeassistant.setup] Setup of domain backup took 0.00 seconds
2024-10-08 21:44:20.035 INFO (MainThread) [homeassistant.setup] Setting up schedule
2024-10-08 21:44:20.036 INFO (MainThread) [homeassistant.setup] Setup of domain schedule took 0.00 seconds
2024-10-08 21:44:20.037 INFO (MainThread) [homeassistant.setup] Setting up shopping_list
2024-10-08 21:44:20.037 INFO (MainThread) [homeassistant.setup] Setup of domain shopping_list took 0.00 seconds
2024-10-08 21:44:20.097 INFO (MainThread) [homeassistant.setup] Setting up cast
2024-10-08 21:44:20.098 INFO (MainThread) [homeassistant.setup] Setup of domain cast took 0.00 seconds
2024-10-08 21:44:20.180 INFO (MainThread) [homeassistant.setup] Setting up mobile_app
2024-10-08 21:44:20.180 INFO (MainThread) [homeassistant.setup] Setting up notify
2024-10-08 21:44:20.180 INFO (MainThread) [homeassistant.setup] Setup of domain notify took 0.00 seconds
2024-10-08 21:44:20.181 INFO (MainThread) [homeassistant.setup] Setup of domain mobile_app took 0.00 seconds
2024-10-08 21:44:20.181 INFO (MainThread) [homeassistant.components.notify] Setting up notify.mobile_app
2024-10-08 21:44:20.181 INFO (MainThread) [homeassistant.setup] Setting up default_config
2024-10-08 21:44:20.181 INFO (MainThread) [homeassistant.setup] Setup of domain default_config took 0.00 seconds
2024-10-08 21:44:20.184 INFO (MainThread) [homeassistant.components.sensor] Setting up energy.sensor
2024-10-08 21:44:20.186 INFO (MainThread) [homeassistant.setup] Setting up analytics
2024-10-08 21:44:20.186 INFO (MainThread) [homeassistant.setup] Setup of domain analytics took 0.00 seconds
2024-10-08 21:44:20.191 INFO (MainThread) [homeassistant.setup] Setting up switch
2024-10-08 21:44:20.191 INFO (MainThread) [homeassistant.setup] Setup of domain switch took 0.00 seconds
2024-10-08 21:44:20.191 INFO (MainThread) [homeassistant.components.switch] Setting up hacs.switch
2024-10-08 21:44:20.191 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.hacs entity: switch.tapo_controller_pre_release
2024-10-08 21:44:20.192 INFO (MainThread) [homeassistant.setup] Setting up update
2024-10-08 21:44:20.192 INFO (MainThread) [homeassistant.setup] Setup of domain update took 0.00 seconds
2024-10-08 21:44:20.192 INFO (MainThread) [homeassistant.components.update] Setting up hacs.update
2024-10-08 21:44:20.193 INFO (MainThread) [custom_components.hacs] Stage changed: setup
2024-10-08 21:44:20.193 INFO (MainThread) [custom_components.hacs] Stage changed: waiting
2024-10-08 21:44:20.193 INFO (MainThread) [custom_components.hacs] Setup complete, waiting for Home Assistant before startup tasks starts
2024-10-08 21:44:20.223 INFO (MainThread) [homeassistant.components.tts] Setting up google_translate.tts
2024-10-08 21:44:20.225 INFO (MainThread) [homeassistant.setup] Setting up todo
2024-10-08 21:44:20.227 INFO (MainThread) [homeassistant.setup] Setup of domain todo took 0.00 seconds
2024-10-08 21:44:20.227 INFO (MainThread) [homeassistant.components.todo] Setting up shopping_list.todo
2024-10-08 21:44:20.241 INFO (MainThread) [homeassistant.setup] Setting up media_player
2024-10-08 21:44:20.242 INFO (MainThread) [homeassistant.setup] Setup of domain media_player took 0.00 seconds
2024-10-08 21:44:20.243 INFO (MainThread) [homeassistant.components.media_player] Setting up cast.media_player
2024-10-08 21:44:20.756 INFO (MainThread) [homeassistant.setup] Setting up weather
2024-10-08 21:44:20.757 INFO (MainThread) [homeassistant.setup] Setup of domain weather took 0.00 seconds
2024-10-08 21:44:20.757 INFO (MainThread) [homeassistant.components.weather] Setting up met.weather
2024-10-08 21:44:20.881 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 1.87s
2024-10-08 21:44:20.882 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2024-10-08 21:44:20.882 INFO (MainThread) [custom_components.hacs] Stage changed: startup
2024-10-08 21:44:20.883 DEBUG (MainThread) [custom_components.hacs] There are 6 scheduled recurring tasks
2024-10-08 21:44:20.883 INFO (MainThread) [custom_components.hacs] Loading removed repositories
2024-10-08 21:44:20.908 INFO (MainThread) [custom_components.hacs] Loading known repositories
2024-10-08 21:44:20.908 DEBUG (MainThread) [custom_components.hacs] Fetching updated content for theme
2024-10-08 21:44:20.909 DEBUG (MainThread) [custom_components.hacs] Fetching updated content for integration
2024-10-08 21:44:20.909 DEBUG (MainThread) [custom_components.hacs] Fetching updated content for plugin
2024-10-08 21:44:20.909 DEBUG (MainThread) [custom_components.hacs] Fetching updated content for template
2024-10-08 21:44:20.993 INFO (MainThread) [custom_components.hacs] Stage changed: running
2024-10-08 21:44:21.002 DEBUG (MainThread) [custom_components.hacs] <QueueManager> The queue is empty
2024-10-08 21:44:21.002 DEBUG (MainThread) [custom_components.hacs] <HACSStore async_save_to_store> Did not store data for 'hacs.critical'. Content did not change
2024-10-08 21:44:21.002 DEBUG (MainThread) [custom_components.hacs] Nothing in the queue
2024-10-08 21:44:21.012 INFO (SyncWorker_4) [homeassistant.loader] Loaded homekit_controller from homeassistant.components.homekit_controller
2024-10-08 21:44:21.012 INFO (SyncWorker_8) [homeassistant.loader] Loaded lifx from homeassistant.components.lifx
2024-10-08 21:44:21.012 INFO (SyncWorker_9) [homeassistant.loader] Loaded kegtron from homeassistant.components.kegtron
2024-10-08 21:44:21.012 INFO (SyncWorker_6) [homeassistant.loader] Loaded androidtv_remote from homeassistant.components.androidtv_remote
2024-10-08 21:44:21.013 INFO (SyncWorker_5) [homeassistant.loader] Loaded synology_dsm from homeassistant.components.synology_dsm
2024-10-08 21:44:21.048 INFO (SyncWorker_1) [homeassistant.loader] Loaded bluetooth_adapters from homeassistant.components.bluetooth_adapters
2024-10-08 21:44:21.060 INFO (SyncWorker_2) [homeassistant.loader] Loaded shelly from homeassistant.components.shelly
2024-10-08 21:44:21.094 INFO (SyncWorker_9) [homeassistant.loader] Loaded esphome from homeassistant.components.esphome
2024-10-08 21:44:21.133 INFO (SyncWorker_6) [homeassistant.loader] Loaded mqtt from homeassistant.components.mqtt
2024-10-08 21:44:21.151 INFO (SyncWorker_3) [homeassistant.loader] Loaded ruuvi_gateway from homeassistant.components.ruuvi_gateway
2024-10-08 21:44:21.441 INFO (MainThread) [homeassistant.setup] Setting up bluetooth_adapters
2024-10-08 21:44:21.445 INFO (SyncWorker_8) [homeassistant.loader] Loaded thread from homeassistant.components.thread
2024-10-08 21:44:25.835 ERROR (Thread-8) [pychromecast.socket_client] [Kitchen Speaker(90661d19-3142-1343-7243-6dae15279938.local.):8009] Failed to connect to service MDNSServiceInfo(name='Google-Nest-Mini-90661d193142134372436dae15279938._googlecast._tcp.local.'), retrying in 5.0s
2024-10-08 21:44:45.267 INFO (SyncWorker_0) [homeassistant.util.package] Attempting install of plugp100==5.1.3
2024-10-08 21:44:45.267 DEBUG (SyncWorker_0) [homeassistant.util.package] Running uv pip command: args=['uv', 'pip', 'install', '--quiet', 'plugp100==5.1.3', '--index-strategy', 'unsafe-first-match', '--upgrade', '--constraint', '/usr/src/homeassistant/homeassistant/package_constraints.txt', '--target', '/config/deps']
2024-10-08 21:44:52.375 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration tapo: No module named 'plugp100'
2024-10-08 21:54:20.884 DEBUG (MainThread) [custom_components.hacs] Nothing in the queue
2024-10-08 21:59:30.540 DEBUG (MainThread) [aiogithubapi] 'GitHubRateLimitResourcesModel' is missing key 'audit_log' for <class 'dict'>
2024-10-08 21:59:30.540 DEBUG (MainThread) [aiogithubapi] 'GitHubRateLimitResourcesModel' is missing key 'audit_log_streaming' for <class 'dict'>
2024-10-08 21:59:30.540 DEBUG (MainThread) [aiogithubapi] 'GitHubRateLimitResourcesModel' is missing key 'code_search' for <class 'dict'>
2024-10-08 22:04:20.886 DEBUG (MainThread) [custom_components.hacs] Nothing in the queue

Additional information

Reported to HACS https://github.com/hacs/integration/issues/4123 but was closed due to not being a HACS issue.

hacscred commented 11 hours ago

What you need to do is for the Python process running HA to be able to import the module.

Home Assistant Core won't magically know how to do that for random code from the Internet, which HACS is.

As such, please close this issue and ask the author of the HACS module to document their work or read the manual, if you haven't done so.

There's nothing HA developers can or should do, IMO.

RosemaryOrchard commented 6 hours ago

Home Assistant Core won't magically know how to do that for random code from the Internet, which HACS is.

That is incorrect, components installed through HACs and others can include that information in their manifest file. And this is evidenced by the information from OP about the logs referencing failing to install those modules.

hacscred commented 6 hours ago

Home Assistant Core won't magically know how to do that for random code from the Internet, which HACS is.

That is incorrect, components installed through HACs and others can include that information in their manifest file. And this is evidenced by the information from OP about the logs referencing failing to install those modules.

I am sorry, but do I sound like the kind of person that needs assistance?

Obviously, if HACS doesn't do that, it won't work and even then there are a million reasons for why it wouldn't work in general, but thanks for wasting my time.

You have about the level of a LLM getting it wrong.

I kindly ask you to never speak to me again. Thank you.

Petro31 commented 4 hours ago

I kindly ask you to never speak to me again. Thank you.

You are anything but kind.