瀏覽代碼

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 年之前
父節點
當前提交
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