Quellcode durchsuchen

IH001 LED controller: do not use hex with mapping

Hex is for when the value needs to be decoded to binary.
When it is mapped to strings, the handling code gets confused

Issue #1629
Jason Rumney vor 2 Jahren
Ursprung
Commit
b33d3b4e43
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      custom_components/tuya_local/devices/ih001_led_controller.yaml

+ 1 - 1
custom_components/tuya_local/devices/ih001_led_controller.yaml

@@ -58,7 +58,7 @@ secondary_entities:
     category: config
     dps:
       - id: 25
-        type: hex
+        type: string
         name: option
         mapping:
           - dps_val: "000c0d0000000000000000c80000"