4
0
Эх сурвалжийг харах

fix(fisher_summer_air_conditioner): fix self clean switch

It looks like this was originally a sensor with arbitrary values. As a switch it can
only use true and false as it's state.
Jason Rumney 1 сар өмнө
parent
commit
66f59004a3

+ 0 - 13
custom_components/tuya_local/devices/fisher_summer_air_conditioner.yaml

@@ -269,19 +269,6 @@ entities:
         type: hex
         name: switch
         mask: "0004"
-        mapping:
-          - dps_val: false
-            value: "Off"
-          - dps_val: true
-            constraint: power
-            conditions:
-              - dps_val: true
-                invalid: true
-              - dps_val: false
-                value: Cleaning
-      - id: 1
-        name: power
-        type: boolean
   - entity: binary_sensor
     class: problem
     category: diagnostic