-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
The HA plugin needs setuptools, otherwise it will silently fail to load for recent Python versions that no longer package distutils:
With just home-assistant-cli:
$ uv run --with git+https://github.com/home-assistant-ecosystem/home-assistant-cli@dev hass-cli ha --help
Usage: hass-cli [OPTIONS] COMMAND [ARGS]...
Try 'hass-cli --help' for help.
Error: No such command 'ha'.
With setuptools manually added:
$ uv run --with git+https://github.com/home-assistant-ecosystem/home-assistant-cli@dev,setuptools hass-cli ha --help
Usage: hass-cli ha [OPTIONS] COMMAND [ARGS]...
Home Assistant (former Hass.io) commands.
Options:
--help Show this message and exit.
Commands:
addons Home Assistant addons commands.
core Home Assistant core commands.
dns Home Assistant DNS commands.
ha-cli Home Assistant ha-cli commands.
hardware Home Assistant hardware info.
host Home Assistant host commands.
multicast Home Assistant Multicast commands.
os Home Assistant os commands.
snapshot Home Assistant snapshot commands.
supervisor Home Assistant supervisor commands.
Metadata
Metadata
Assignees
Labels
No labels