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

fix(dewall_evcharger): mark dps 155, 156 as optional

Minor features, apparently not reported by some devices, or in some configurations.

Issue #6106
Jason Rumney 3 недель назад
Родитель
Сommit
05344fbb3c
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      custom_components/tuya_local/devices/dewall_evcharger.yaml

+ 2 - 0
custom_components/tuya_local/devices/dewall_evcharger.yaml

@@ -142,6 +142,7 @@ entities:
     dps:
       - id: 155
         type: boolean
+        optional: true
         name: switch
       - id: 157
         type: integer
@@ -158,6 +159,7 @@ entities:
     dps:
       - id: 156
         type: boolean
+        optional: true
         name: switch
   - entity: number
     name: Operating state