瀏覽代碼

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

* Add unit '%' to battery sensor in YAML

* Fix battery unit formatting in YAML configuration
bvweerd 3 月之前
父節點
當前提交
dcba070c1e
共有 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

@@ -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