Explorar o código

Add additional hex data type

Along with json and base64, this provides a hint for how to decode the string.
Jason Rumney %!s(int64=4) %!d(string=hai) anos
pai
achega
451b92cfa3
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      custom_components/tuya_local/helpers/device_config.py

+ 1 - 0
custom_components/tuya_local/helpers/device_config.py

@@ -252,6 +252,7 @@ class TuyaDpsConfig:
             "bitfield": int,
             "json": str,
             "base64": str,
+            "hex": str,
         }
         return types.get(t)