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

Inkbord sous vide: make some dp optional for compatibility

Silvercrest SSVSS 1200 A1 has the same dp mappings, but 102 and 110 are missing.
Making these optional allows the config to cover that device also.

Avoids extra config from PR #582
Jason Rumney 2 лет назад
Родитель
Сommit
72ae5b6ca5
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      custom_components/tuya_local/devices/inkbird_sousvide_cooker.yaml

+ 6 - 1
custom_components/tuya_local/devices/inkbird_sousvide_cooker.yaml

@@ -1,4 +1,7 @@
-name: Inkbird sous vide
+name: Sous vide
+products:
+  - id: ljrmmds82n6kln4u
+    name: Silvercrest SSVSS 1200 A1
 primary_entity:
   entity: climate
   dps:
@@ -14,6 +17,7 @@ primary_entity:
       type: string
       name: hvac_action
       icon_priority: 2
+      optional: true
       mapping:
         - dps_val: stop
           value: "off"
@@ -120,6 +124,7 @@ secondary_entities:
       - id: 110
         type: integer
         name: value
+        optional: true
         range:
           min: -99
           max: 99