Просмотр исходного кода

Tongou QCB2: make compatible with QCB2-CB model

This model is missing the earth leakage detection (already optional) and
neutral temperature (needed to be made optional).

No product id supplied, so no product details added.

Issue #2642
Jason Rumney 1 год назад
Родитель
Сommit
1f83b7d98d
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      custom_components/tuya_local/devices/tongou_qcb2_circuitbreaker.yaml

+ 1 - 0
custom_components/tuya_local/devices/tongou_qcb2_circuitbreaker.yaml

@@ -500,6 +500,7 @@ entities:
     dps:
     dps:
       - id: 134
       - id: 134
         type: integer
         type: integer
+        optional: true
         name: sensor
         name: sensor
         unit: C
         unit: C
         class: measurement
         class: measurement