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

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



To do this you must have a file editor installed on your Home Assistant instance, our instructions are based on Studio Code Server.

Editing your configuration.yaml file.
  1. On your Home Assistant instance click Studio Code Server.
  2. Select configuration.yaml, and then click in the text editor to close the filesystem. 
  3. Paste the following into the open configuration.yaml:
    zha:

      custom_quirks_path: /config/zha_quirks/

  4. Click the "Save" icon.
Installing the quirk files.
  1. In another browser tab go to: 
    1. RGB+CCT: https://github.com/candeosmart/homeassistant-zha/blob/main/candeo_lc20_led_controller_rgbcct.py
    2. RGBW: https://github.com/candeosmart/homeassistant-zha/blob/main/candeo_lc20_led_controller_rgbw.py
    3. RGB: https://github.com/candeosmart/homeassistant-zha/blob/main/candeo_lc20_led_controller_rgb.py
    4. CCT: https://github.com/candeosmart/homeassistant-zha/blob/main/candeo_lc20_led_controller_cct.py
    5. Dimmer: https://github.com/candeosmart/homeassistant-zha/blob/main/candeo_lc20_led_controller_dim.py
  2. Click the download icon ("Download raw file")
  3. Go back to your Home Assistant instance, and Studio Code Server.
  4. Click the new folder icon and create a folder called zha_quirks
  5. Right click the new folder.
  6. Click "Upload..." file button, then click the file button.
  7. Browse to your downloaded quirk file ending in .py, select it and click open.
  8. The file should now be in your zha_quirks folder.
The last step is to reload your configuration.yaml file. This can be done by going to settings, system and then clicking the power button at the top right, and selecting quick reload.

Quirk functions

This quirk will increase stability and functionality.

    • Related Articles

    • [C203/C204/C-ZB-DM204] How do I install Home Assistant ZHA quirks?

      To do this you must have a file editor installed on your Home Assistant instance, such as studio code editor. Editing your configuration.yaml file. On your Home Assistant instance click file editor. Click the folder button ("Browse Filesystem") ...
    • [C-ZB-LC20] How do I pair my zigbee LED controller to Home Assistant? (ZHA)

      Identify the capabilities of the LED strip you are using, and decide which mode you want to use on the 5-in-1 controller. Factory Reset the controller: Method 1: Press and hold the reset button for 5 seconds. The LED strip will flash 3 times. Method ...
    • [C205] How do I install Home Assistant ZHA quirks?

      To do this you must have a file editor installed on your Home Assistant instance, such as studio code editor. Editing your configuration.yaml file. On your Home Assistant instance click file editor. Click the folder button ("Browse Filesystem") ...
    • [CMM-1] How do I install Home Assistant ZHA quirks?

      To do this you must have file editor installed on your Home Assistant instance. Editing your configuration.yaml file. On your Home Assistant instance click file editor. Click the folder button ("Browse Filesystem") Select configuration.yaml, and then ...
    • [CSF1TZ] How do I install Home Assistant ZHA quirks?

      To do this you must have file editor installed on your Home Assistant instance. Editing your configuration.yaml file. On your Home Assistant instance click file editor. Click the folder button ("Browse Filesystem") Select configuration.yaml, and then ...