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

Inkbird BBQ thermometer: fault sensor is bitfield, not boolean

Issue #548
Jason Rumney 2 лет назад
Родитель
Сommit
ab7c8fe13a

+ 5 - 1
custom_components/tuya_local/devices/inkbird_ibbq4bw_thermometer.yaml

@@ -71,8 +71,12 @@ secondary_entities:
     category: diagnostic
     dps:
       - id: 13
-        type: boolean
+        type: bitfield
         name: sensor
+        mapping:
+          - dps_val: 0
+            value: false
+          - value: true
   - entity: select
     name: Temperature unit
     icon: "mdi:temperature-celsius"