ソースを参照

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

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

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