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

fix(eload_gen2_evcharger): fix refresh button

Jason Rumney 1 день назад
Родитель
Сommit
7c1b85ad8b
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      custom_components/tuya_local/devices/eload_gen2_evcharger.yaml

+ 1 - 3
custom_components/tuya_local/devices/eload_gen2_evcharger.yaml

@@ -132,12 +132,10 @@ entities:
       - id: 27
       - id: 27
         type: string
         type: string
         optional: true
         optional: true
-        name: switch
+        name: button
         mapping:
         mapping:
           - dps_val: online
           - dps_val: online
             value: true
             value: true
-          - dps_val: offline
-            value: false
   - entity: sensor
   - entity: sensor
     name: Device status
     name: Device status
     class: enum
     class: enum