Just wanted to update this post, as I came here looking for this answer. I run HA in a docker container as well and wanted to try the Wyze addon via HACS. I used the instructions on HACS to get it going, which was a snap. (Download | HACS)
- Open a terminal
- Go inside the container with
docker exec -it homeassistant bash
- Run the HACS download script
wget -O - https://get.hacs.xyz | bash -
FWIW I do have a local directory so it persists across containers/host reboots.
My docker-compose.yaml:
version: '3'
services:
homeassistant:
container_name: homeassistant
image: homeassistant/home-assistant:stable
volumes:
- /etc/homeassistant/config:/config
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
network_mode: host
devices:
- /dev/ttyACM0:/dev/ttyACM0