Преглед изворни кода

fix (tongou_toqsyswt_breaker): correctly implement the button

Issue #3480
Jason Rumney пре 4 месеци
родитељ
комит
f7622738eb
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      custom_components/tuya_local/devices/tongou_toqsyswt_breaker.yaml

+ 2 - 2
custom_components/tuya_local/devices/tongou_toqsyswt_breaker.yaml

@@ -223,8 +223,8 @@ entities:
     icon: "mdi:wifi"
     dps:
       - id: 109
-        type: boolean
-        name: string
+        type: string
+        name: button
         mapping:
           - dps_val: online
             value: true