修复代码问题并更新版本到 v1.0.3

- 修复 config_flow.py 中的 KeyError 风险
- 添加 MQTT broker 地址和端口验证
- 完善翻译文件,添加所有配置字段的中文翻译
- 修复 sensor.py 中的弃用 API 使用
- 改进错误处理,转换失败时设置 available 为 False
- 添加 device_info 中的 sw_version 字段
- 清理 manifest.json 中不必要的 paho-mqtt 依赖
- 修正 README.md 中的路径错误
- 更新版本号到 1.0.3
This commit is contained in:
不求圣剑
2025-10-14 11:51:13 +08:00
parent 3ccf251194
commit 18c47052e6
6 changed files with 45 additions and 21 deletions

View File

@@ -11,8 +11,5 @@
"documentation": "https://github.com/suyulin/jackery_home",
"issue_tracker": "https://github.com/suyulin/jackery_home/issues",
"iot_class": "local_push",
"requirements": [
"paho-mqtt>=1.6.0"
],
"version": "1.0.2"
"version": "1.0.3"
}