瀏覽代碼

fix: Honeyguardian s56 petfeeder meal_plan as config entity

Fredrik 10 月之前
父節點
當前提交
6e954935d5
共有 1 個文件被更改,包括 8 次插入3 次删除
  1. 8 3
      custom_components/tuya_local/devices/honeyguardian_s56_petfeeder.yaml

+ 8 - 3
custom_components/tuya_local/devices/honeyguardian_s56_petfeeder.yaml

@@ -15,10 +15,15 @@ entities:
         range:
         range:
           min: 1
           min: 1
           max: 6
           max: 6
+
+  - entity: text
+    name: Meal plan
+    category: config
+    hidden: true
+    dps:
       - id: 1
       - id: 1
-        type: string
-        name: plan
-        optional: true
+        type: base64
+        name: value
   - entity: switch
   - entity: switch
     category: config
     category: config
     name: Slow feeding
     name: Slow feeding