Skip to content

Instantly share code, notes, and snippets.

@fholzer
Last active September 9, 2024 21:34
Show Gist options
  • Save fholzer/a2e876f9a06f9557cd5815c8272cbe4e to your computer and use it in GitHub Desktop.
Save fholzer/a2e876f9a06f9557cd5815c8272cbe4e to your computer and use it in GitHub Desktop.
home assistant test setup

Important to note:

The zigpy/zha-device-handlers repo clone with my changes is located in the same directory as the docker-compose.yml file.

---
version: "2.1"
services:
homeassistant:
image: lscr.io/linuxserver/homeassistant:latest
container_name: homeassistant
network_mode: host
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Vienna
volumes:
- ./config:/config
# below line to test the RDM022 MR
- ./zha-device-handlers/zhaquirks/philips:/usr/local/lib/python3.12/site-packages/zhaquirks/philips
ports:
- 8123:8123
devices:
- /dev/ttyUSB0:/dev/ttyUSB0
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment