فهرست منبع

Make problem sensor more like taurus_agadir_heater

Not very sure I understand the CI failure, but making the binary sensor based on fault code more similar to the linked example.
Bo Jeanes 1 سال پیش
والد
کامیت
1a0966366a
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 4 1
      custom_components/tuya_local/devices/bonaire_heater.yaml

+ 4 - 1
custom_components/tuya_local/devices/bonaire_heater.yaml

@@ -48,12 +48,15 @@ secondary_entities:
     category: diagnostic
     category: diagnostic
     dps:
     dps:
       - id: 12
       - id: 12
-        name: error
         type: bitfield
         type: bitfield
+        name: sensor
         mapping:
         mapping:
           - dps_val: 0
           - dps_val: 0
             value: false
             value: false
           - value: true
           - value: true
+      - id: 12
+        type: bitfield
+        name: fault_code
   - entity: light
   - entity: light
     translation_key: backlight
     translation_key: backlight
     dps:
     dps: