[C-ZB-SR5BR] How do I install Home Assistant ZHA quirks?
⚠️ To follow these steps you’ll need a file editor installed in Home Assistant.
These instructions are based on Studio Code Server.
✏️ Editing your configuration.yaml
file
- Open Studio Code Server in your Home Assistant instance.
- Select
configuration.yaml
, then click inside the editor to close the file system sidebar. Paste the following into the open file:
zha:
custom_quirks_path: /config/zha_quirks/
- 💾 Click the Save icon.
📂 Installing the quirk files
- In another browser tab, go to:
https://github.com/candeosmart/homeassistant-zha/blob/main/candeo_c-zb-sr5br_scene_switch_remote_5_button_rotary.py - ⬇️ Click the Download raw file icon.
- Return to Home Assistant and open Studio Code Server.
- Click the New folder icon and create a folder called
zha_quirks
. - Right-click the new folder.
- Select Upload…, then choose your downloaded
.py
quirk file. - The file should now appear inside your
zha_quirks
folder.
🔄 The last step is to reload your configuration.yaml
.
Go to Settings → System, click the power icon in the top-right, and choose Quick reload.