refactor: 全面重构腾讯云人脸识别插件
- 拆分 tencent_cloud_client.py(1311行)为 api_operations.py / image_processor.py / retry.py - 更新 HA 废弃 API: SupportsResponse.OPTIONAL, async_unload_platforms, native_value, 移除 CONNECTION_CLASS - 新增动态人员传感器管理(自动增/删) - 新增 detect_face 服务定义(services.yaml) - 移除 secret_key 持久化存储,增强安全性 - 完善错误映射前缀匹配 + 异常类型安全退避 - 修复 Coordinator 双重人员 ID 跟踪死代码 - 添加 _sanitize_error 脱敏,ImageCache LRU 缓存 - manifest.json 版本 2.1.0 + Pillow 依赖
This commit is contained in:
+3
-2
@@ -6,11 +6,12 @@
|
||||
"issue_tracker": "https://code.nextrt.com/Hass/tencent_face_recognition/issues",
|
||||
"requirements": [
|
||||
"tencentcloud-sdk-python-common>=3.0.0,<4.0.0",
|
||||
"tencentcloud-sdk-python-iai>=3.0.0,<4.0.0"
|
||||
"tencentcloud-sdk-python-iai>=3.0.0,<4.0.0",
|
||||
"Pillow>=10.0.0"
|
||||
],
|
||||
"dependencies": [],
|
||||
"codeowners": ["@xyzmos"],
|
||||
"version": "2.0.0",
|
||||
"version": "2.1.0",
|
||||
"iot_class": "cloud_polling",
|
||||
"resources": []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user