Explorar el Código

fix(eload_gen2_evcharger): fix refresh button

Jason Rumney hace 1 día
padre
commit
7c1b85ad8b

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

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