[C-ZB-SR5BR] How do I install Home Assistant ZHA quirks?

[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

  1. Open Studio Code Server in your Home Assistant instance.
  2. Select configuration.yaml, then click inside the editor to close the file system sidebar.
  3. Paste the following into the open file:
    zha:
      custom_quirks_path: /config/zha_quirks/
  4. 💾 Click the Save icon.

📂 Installing the quirk files

  1. 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
  2. ⬇️ Click the Download raw file icon.
  3. Return to Home Assistant and open Studio Code Server.
  4. Click the New folder icon and create a folder called zha_quirks.
  5. Right-click the new folder.
  6. Select Upload…, then choose your downloaded .py quirk file.
  7. 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.