소스 검색

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,
             "bitfield": int,
             "json": str,
             "json": str,
             "base64": str,
             "base64": str,
+            "hex": str,
         }
         }
         return types.get(t)
         return types.get(t)