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

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 месяцев назад
Родитель
Сommit
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:
           min: 1
           max: 6
+  - entity: text
+    name: Meal plan
+    hidden: true
+    category: config
+    dps:
+      - id: 1
+        type: base64
+        optional: true
+        name: value
   - entity: switch
     name: Slow feed
     icon: "mdi:speedometer-slow"