1、下载hasc文件https://github.com/hacs/integration/releases/download/2.0.0/hacs.zip
2、找到home assistant的安装目录在config目录下创建custom_components 目录
3、把hacs.zip 目录解压到custom_components/hacs目录下
unzip hace.zip -d custom_components/hacs
4、在home assistant 页面点击配置,在右上角点击重启,重启home assistant
5、重启完成后在 配置中点击设备与服务,添加集成种搜索hacs