| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 | name: home-assistant-snapversion: '2021.7.4'summary: Open source home automation that puts local control and privacy firstdescription: |  Home Assistant is a home automation platform running on Python 3.   It is able to track and control all devices at home and offer a   platform for automating control.   Your new installation will be available through your browser at http://localhost:8123/  Please see official docs: https://git.giaever.org/joachimmg/home-assistant-snap and https://community.home-assistant.io for help on configuration etc.  See `snap connections home-assistant-snap` for necessary plugs (such as access to USB etc).  NOTE! Snap will automatically update whenever a new revision of the snap package is available. base: core20grade: stableconfinement: strictlicense: Apache-2.0architectures:  - build-on: amd64  - build-on: arm64  - build-on: armhf  - build-on: ppc64ellayout:  /etc/pip.conf:    bind-file: $SNAP_DATA/pip.conf  /etc/openzwave:    bind: $SNAP/openzwave  # /etc/ethertypes:  #   bind-file: $SNAP/etc/ethertypesplugs:  bin:    interface: content    content: executables    target: $SNAP/shared-binslots:  components:    interface: content    content: components    write:       - $SNAP_DATA/custom_components  configurations:    interface: content    write:      - $SNAP_DATA# hooks:#   post-refresh:#     plugs:#       - networkapps:  home-assistant-snap:    command: bin/hass --config $SNAP_DATA    command-chain:      - bin/plug-bin    daemon: simple    environment:      PIP_USER: 1    restart-condition: always    plugs:       - bluez      - network      - network-bind      - network-control      - raw-usb      - serial-port      # GPIO devices etc.. (e.g RaZberry HAT)      - physical-memory-control      - removable-media    slots:       - components  check-config:    plugs:       - network    environment:      PIP_USER: 1    command: bin/hass --script check_config --config $SNAP_DATA -iparts:  homeassistant:    plugin: python-wot-plugin    source: https://github.com/home-assistant/core.git    source-tag: ${SNAPCRAFT_PROJECT_VERSION}    python-packages:      - setuptools      - wheel      - Cython      - pip    build-packages:      - python3      - python3-dev      - python3-setuptools      - python3-wheel      - pkg-config      - autoconf      - build-essential      - cmake      - cython3      - ffmpeg      - libavcodec-dev      - libavdevice-dev      - libavfilter-dev      - libavformat-dev      - libavresample-dev      - libavutil-dev      - libffi-dev      - libglib2.0-dev      - libglu1-mesa-dev      - libgpiod-dev      - libjpeg-dev      - libopenzwave1.5-dev      - libswresample-dev      - libssl-dev      - libswscale-dev      - libudev-dev      - libxml2-dev      - libxslt1-dev      - zlib1g-dev    stage-packages:      - freeglut3      - ffmpeg      - iputils-ping      - libglu1-mesa      #- libpcap0.8-dev      - tcpdump      - zlib1g    stage:      - -lib/python3.8/site-packages/homeassistant/components/updater    requirements:      - requirements_all.txt    constraints:      - homeassistant/package_constraints.txt    override-build: |      snapcraftctl build      sed -i 's/include-system-site-packages = false/include-system-site-packages = true/g' $SNAPCRAFT_PART_INSTALL/pyvenv.cfg  updater:    after: [homeassistant]    plugin: dump    source: ./src/components    source-type: local    organize:      '*': lib/python3.8/site-packages/homeassistant/components/  hooks:    plugin: dump    source: ./src/hooks    source-type: local    stage-packages:      - uuid    organize:      install: snap/hooks/install      configure: snap/hooks/configure      post-refresh: snap/hooks/post-refresh      connect-plug-bin: snap/hooks/connect-plug-bin  config:    plugin: dump    source: ./src/config    source-type: local    organize:      plug-bin: bin/plug-bin
 |