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

Add additional hex data type

Along with json and base64, this provides a hint for how to decode the string.
Jason Rumney пре 4 година
родитељ
комит
451b92cfa3
1 измењених фајлова са 1 додато и 0 уклоњено
  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)