Преглед изворни кода

Update faroro_pet_feeder.yaml

Tweaks to configuration
jon-sanders пре 1 година
родитељ
комит
0d394ac6dc
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      custom_components/tuya_local/devices/faroro_pet_feeder.yaml

+ 3 - 3
custom_components/tuya_local/devices/faroro_pet_feeder.yaml

@@ -6,7 +6,7 @@ primary_entity:
   entity: number
   name: Manual Feed
   icon: "mdi:food-drumstick"
-  mode: box
+  mode: "box"
   dps:
     - id: 3
       name: value
@@ -113,7 +113,7 @@ secondary_entities:
       - id: 104
         name: sensor
         type: boolean
-  - entity: switch
+  - entity: button
     name: Reboot
     icon: "mdi:restart"
     category: diagnostic
@@ -121,7 +121,7 @@ secondary_entities:
     dps:
       - id: 105
         type: boolean
-        name: switch
+        name: button
   - entity: number
     name: Button Portion Size
     icon: "mdi:food-drumstick"