Просмотр исходного кода

TTEC vacuum: mark new buttons optional and give them icons

Issue #1545
Jason Rumney 2 лет назад
Родитель
Сommit
6d2c3ffbba
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      custom_components/tuya_local/devices/ttec_reobipro_vacuum.yaml

+ 6 - 0
custom_components/tuya_local/devices/ttec_reobipro_vacuum.yaml

@@ -156,25 +156,31 @@ primary_entity:
 secondary_entities:
   - entity: button
     name: Start
+    icon: "mdi:play"
     category: config
     dps:
       - id: 1
         type: boolean
         name: button
+        optional: true
   - entity: button
     name: Pause
     category: config
+    icon: "mdi:pause"
     dps:
       - id: 2
         type: boolean
         name: button
+        optional: true
   - entity: button
     name: Dock
     category: config
+    icon: "mdi:lightning-bolt"
     dps:
       - id: 3
         type: boolean
         name: button
+        optional: true
   - entity: sensor
     name: Cleaning time
     class: duration