Browse Source

Added percentage to battery of Fararo Pet Feeder (#3957)

* Add unit '%' to battery sensor in YAML

* Fix battery unit formatting in YAML configuration
bvweerd 7 months ago
parent
commit
dcba070c1e
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

@@ -75,6 +75,7 @@ entities:
       - id: 101
       - id: 101
         name: sensor
         name: sensor
         type: string
         type: string
+        unit: "%"
         mapping:
         mapping:
           - dps_val: "no"
           - dps_val: "no"
             value: 10
             value: 10