Explorar el Código

Absina EV charger: invert RFID button

PR #2816
Jason Rumney hace 1 año
padre
commit
e259ce953c
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      custom_components/tuya_local/devices/absina_evcharger.yaml

+ 5 - 0
custom_components/tuya_local/devices/absina_evcharger.yaml

@@ -473,6 +473,11 @@ entities:
       - id: 123
         type: boolean
         name: button
+        mapping:
+          - dps_val: false
+            value: true
+          - dps_val: true
+            value: false
 
   # Seems not to work with the charger as always on waitOperation
   - entity: sensor  # ChargingOperation -124-