浏览代码

fix(faroro_pet_feeder): Last feed amount is optional

On a newly unboxed device, there is no last feed.

Issue #3528
Jason Rumney 11 月之前
父节点
当前提交
095a64c497
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      custom_components/tuya_local/devices/faroro_pet_feeder.yaml

+ 1 - 0
custom_components/tuya_local/devices/faroro_pet_feeder.yaml

@@ -45,6 +45,7 @@ entities:
       - id: 15
         name: sensor
         type: integer
+        optional: true
   - entity: sensor
     name: Voice times
     icon: "mdi:account-voice"