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

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


Notes
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.
  1. On your Home Assistant instance click file editor.
  2. Click the folder button ("Browse Filesystem")
  3. Select configuration.yaml, and then click in the text editor to close the filesystem. 
  4. Paste the following into the open configuration.yaml:
    zha:

      custom_quirks_path: /config/zha_quirks/

  5. Click the "Save" icon.
Installing the quirk files.
  1. In another browser tab go to: 
    1. C203: https://github.com/candeosmart/homeassistant-zha/blob/main/candeo_c203_dimmer_module_V2.py
    2. C204: https://github.com/candeosmart/homeassistant-zha/blob/main/candeo_c204_dimmer_module_V2.py
  2. Click the download icon ("Download raw file")
  3. Go back to your Home Assistant instance, and the file editor.
  4. Click the folder button again.
  5. Click the new folder icon and create a folder called zha_quirks
  6. Click the new folder.
  7. Click the upload file button, then click the file button.
  8. Browse to your downloaded candeo_smart_irrigation_timer.py file, and select it.
  9. Click ok in the upload file box, and you're done.
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 add the ability to select either toggle switches or retractive/momentary switches.
    • Related Articles

    • [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 ...
    • [C-ZB-SM205-2G] How do I pair my Zigbee lighting module to Home Assistant? (ZHA)

      Factory Reset the module: After powering on the module for the first time, the lamp should slowly blink. If it does not blink, you will need to factory reset the device. To do this, press the reset button 5 times. If the module is not accessible, ...
    • [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 ...