Преглед изворни кода

feat(welltobe_cat_feeder): add meal plan entity

Add the meal plan entity on dp 1.
As this is not normally sent by the device and is in an undocumented
binary format, make it disabled by default, but it is there if the users
choose to enable it.

Issue #3702
Jason Rumney пре 5 месеци
родитељ
комит
20a7c13a3d
1 измењених фајлова са 9 додато и 0 уклоњено
  1. 9 0
      custom_components/tuya_local/devices/welltobe_cat_feeder.yaml

+ 9 - 0
custom_components/tuya_local/devices/welltobe_cat_feeder.yaml

@@ -16,6 +16,15 @@ entities:
         range:
         range:
           min: 1
           min: 1
           max: 6
           max: 6
+  - entity: text
+    name: Meal plan
+    hidden: true
+    category: config
+    dps:
+      - id: 1
+        type: base64
+        optional: true
+        name: value
   - entity: switch
   - entity: switch
     name: Slow feed
     name: Slow feed
     icon: "mdi:speedometer-slow"
     icon: "mdi:speedometer-slow"