Explorar el Código

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 hace 2 años
padre
commit
72ae5b6ca5

+ 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:
 primary_entity:
   entity: climate
   entity: climate
   dps:
   dps:
@@ -14,6 +17,7 @@ primary_entity:
       type: string
       type: string
       name: hvac_action
       name: hvac_action
       icon_priority: 2
       icon_priority: 2
+      optional: true
       mapping:
       mapping:
         - dps_val: stop
         - dps_val: stop
           value: "off"
           value: "off"
@@ -120,6 +124,7 @@ secondary_entities:
       - id: 110
       - id: 110
         type: integer
         type: integer
         name: value
         name: value
+        optional: true
         range:
         range:
           min: -99
           min: -99
           max: 99
           max: 99