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

feat (evsun_evcharger): make more dps optional to match Andalung charger

To match log on Issue #4396
Jason Rumney 1 неделя назад
Родитель
Сommit
567b76c643
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      custom_components/tuya_local/devices/evsun_evcharger.yaml

+ 5 - 1
custom_components/tuya_local/devices/evsun_evcharger.yaml

@@ -181,6 +181,7 @@ entities:
     dps:
       - id: 11
         type: base64
+        optional: true
         name: value
   - entity: text
     name: Alarm 2
@@ -189,8 +190,8 @@ entities:
     hidden: true
     dps:
       - id: 12
-        optional: true
         type: base64
+        optional: true
         name: value
   - entity: sensor
     name: Connection
@@ -266,6 +267,7 @@ entities:
     dps:
       - id: 17
         type: integer
+        optional: true
         name: value
         unit: kWh
         mapping:
@@ -305,6 +307,7 @@ entities:
     dps:
       - id: 25
         type: integer
+        optional: true
         name: sensor
         unit: kWh
         mapping:
@@ -329,6 +332,7 @@ entities:
     dps:
       - id: 28
         type: integer
+        optional: true
         name: value
         unit: h
         range: