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

feat(atorch_s1bwpth_thermostat): improve compatibility

Mark 3 dps as optional

Issue #5073
Jason Rumney 3 дней назад
Родитель
Сommit
813e0a4d7c

+ 3 - 0
custom_components/tuya_local/devices/atorch_s1bwpth_thermostat.yaml

@@ -211,6 +211,7 @@ entities:
           - scale: 1000
       - id: 127
         type: integer
+        optional: true
         name: historical
         mapping:
           - scale: 100
@@ -286,6 +287,7 @@ entities:
     dps:
       - id: 117
         type: integer
+        optional: true
         name: value
         unit: °C
         range:
@@ -380,6 +382,7 @@ entities:
     dps:
       - id: 132
         type: integer
+        optional: true
         name: sensor
         unit: s