name: home-assistant-hacs base: core20 version: '1.0' summary: Home Assistant Community Store description: | Manage (Install, track, upgrade) and discover custom elements for Home Assistant directly from the UI. **What?*** HACS is a integration that gives the user a powerful UI to handle downloads of custom integrations and plugins. Highlights of what HACS can do: - Help you discover new custom elements. - Help you install (download) new custom elements. - Help you keep track of your custom elements. - Manage(Install/Upgrade/Remove) - Shortcuts to repositories/issue tracker **Installation** 1. Go into integrations and add HACS. Home Assistant will now try to install every python-package that HACS depends on. 2. Step 1 might fail for an unknown reason, but **if so**: Restart Home Assistant with `sudo snap restart home-assistant-snap` and wait for it to boot up. Go back and continue as described in _step 1._ 3. You should be prompted with some check-boxes that you need to confirm and then a screen to connect to github api. Wallah! HACS should be up running. :) **Can't find HACS in the integration list?** Open up a terminal and issue: ``` sudo snap connect home-assistant-hacs:components home-assistant-snap:components ``` HACS should auto-connect, but sometimes it might fail. You also have to do this manually if you are using a self-snapped `home-assistant-snap`. Please see https://git.giaever.org/joachimmg/home-assistant-hacs#install-from-the-snap-store-recommended for more details. **UPDATES? Out of date?** No worries. HACS is managed by HACS and Home Assistant. After installation you will be able to update HACS whenever there is a new update! license: MIT grade: stable confinement: strict architectures: - build-on: amd64 - build-on: arm64 - build-on: armhf - build-on: ppc64el apps: install: command: bin/install plugs: - components - network plugs: components: interface: content content: components target: $SNAP_DATA/custom_components default-provider: home-assistant-snap hooks: connect-plug-components: plugs: - components - network disconnect-plug-components: plugs: [components] layout: /etc/wgetrc: bind-file: $SNAP/etc/wgetrc parts: local: plugin: dump source: ./source source-type: local organize: install: bin/install hooks: snap/hooks hacs: plugin: nil override-pull: | wget https://get.hacs.xyz -O hacs override-build: | mv ${SNAPCRAFT_PART_BUILD}/hacs ${SNAPCRAFT_PART_INSTALL}/hacs chmod +x ${SNAPCRAFT_PART_INSTALL}/hacs build-packages: - wget stage-packages: - wget - unzip