瀏覽代碼

Rojeco pet feeder 4L: naming improvements

- follow HA naming conventions
- battery sensor does not need a name, as the class has a default name
Jason Rumney 2 年之前
父節點
當前提交
b5057b96ca
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      custom_components/tuya_local/devices/rojeco_pet_feeder_ptm001_4l_single.yaml

+ 2 - 3
custom_components/tuya_local/devices/rojeco_pet_feeder_ptm001_4l_single.yaml

@@ -39,7 +39,7 @@ secondary_entities:
           - dps_val: done
           - dps_val: done
             value: Done
             value: Done
   - entity: number
   - entity: number
-    name: Manual Feed
+    name: Manual feed
     category: config
     category: config
     icon: "mdi:paw"
     icon: "mdi:paw"
     dps:
     dps:
@@ -52,7 +52,7 @@ secondary_entities:
           max: 60
           max: 60
         optional: true
         optional: true
   - entity: switch
   - entity: switch
-    name: Slow Feed
+    name: Slow feed
     category: config
     category: config
     icon: "mdi:speedometer-slow"
     icon: "mdi:speedometer-slow"
     dps:
     dps:
@@ -73,7 +73,6 @@ secondary_entities:
             value: true
             value: true
           - value: false
           - value: false
   - entity: sensor
   - entity: sensor
-    name: Battery level
     class: battery
     class: battery
     category: diagnostic
     category: diagnostic
     dps:
     dps: