فهرست منبع

MRC Magnum: make some dps optional

Discussion #1279
Jason Rumney 2 سال پیش
والد
کامیت
7c34958747
1فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 5 0
      custom_components/tuya_local/devices/mrc_magnum_floorheater.yaml

+ 5 - 0
custom_components/tuya_local/devices/mrc_magnum_floorheater.yaml

@@ -113,6 +113,7 @@ secondary_entities:
       - id: 102
       - id: 102
         type: string
         type: string
         name: option
         name: option
+        optional: true
         mapping:
         mapping:
           - dps_val: "0" 
           - dps_val: "0" 
             value: "0.1"
             value: "0.1"
@@ -120,6 +121,9 @@ secondary_entities:
             value: "0.5"
             value: "0.5"
           - dps_val: "2"
           - dps_val: "2"
             value: "1.0"
             value: "1.0"
+          - dps_val: null
+            value: Not set
+            hidden: true
   - entity: number
   - entity: number
     name: Setback adjustment
     name: Setback adjustment
     category: config
     category: config
@@ -128,6 +132,7 @@ secondary_entities:
       - id: 103
       - id: 103
         type: integer
         type: integer
         name: value
         name: value
+        optional: true
         range:
         range:
           min: 2
           min: 2
           max: 8
           max: 8