........................ $ sudo su
root@mars:/var/www# su homeassistant
homeassistant@mars:/var/www$ cd /home/yunohost.app/homeassistant
homeassistant@mars:/home/yunohost.app/homeassistant$ wget -O - https://get.hacs.xyz | bash -
2023-10-21 02:07:28 (11.2 MB/s) - ‘hacs.zip’ saved [4004125/4004125]
INFO: Creating HACS directory...
INFO: Unpacking HACS...
INFO: Verifying versions
INFO: Current version is 2023.10.1, minimum version is 2023.6.0
INFO: Removing HACS zip file...
INFO: Installation complete.
INFO: Remember to restart Home Assistant before you configure it
homeassistant@mars:/home/yunohost.app/homeassistant$
再起動