I have a matter-Python container with docker. Everytime I update and rebuild the container. All Entities are unavailable. I have to manually re-add them.
Does anyone have an idea on how to prevent this from happening?
Or bulk add / recconect them?
Docker compose:
matter-server:
image: ghcr.io/home-assistant-libs/python-matter-server:stable
container_name: matter-server
# Required for mDNS to work correctly
network_mode: host
security_opt:
# needed for bluetooth via dbus
- apparmor=unconfined
command: "--log-level debug"
# ports:
# - "5580:5580/tcp"
volumes:
- /opt/matter/data:/data/
- /opt/matter/run/dbus:/run/dbus:ro
# If you adjust command line, make sure to pass the default CMD arguments too:
#command: --storage-path /data --paa-root-cert-dir /data/credentials --bluetooth-adapter 0
- /etc/timezone:/etc/timezone:ro