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

Make dps 11 as optional - has null intermittently during testing

Patrick Ohearn 2 лет назад
Родитель
Сommit
601f41e7a6

+ 2 - 0
custom_components/tuya_local/devices/breville_lad208_dehumidifier.yaml

@@ -168,6 +168,7 @@ secondary_entities:
       - id: 11
         type: bitfield
         name: sensor
+        optional: true
         mapping:
           - dps_val: 8
             value: true
@@ -198,6 +199,7 @@ secondary_entities:
       - id: 11
         type: bitfield
         name: sensor
+        optional: true
         mapping:
           - dps_val: 0
             value: false