Browse Source

fix(faroro_pet_feeder): Last feed amount is optional

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

Issue #3528
Jason Rumney 11 months ago
parent
commit
095a64c497
1 changed files with 1 additions and 0 deletions
  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
       - id: 15
         name: sensor
         name: sensor
         type: integer
         type: integer
+        optional: true
   - entity: sensor
   - entity: sensor
     name: Voice times
     name: Voice times
     icon: "mdi:account-voice"
     icon: "mdi:account-voice"