版本更新至 v1.0.4

包含新功能:
- 增强配置流程,确保只能创建单个实例
- 更新错误消息以反映新的中止原因
This commit is contained in:
不求圣剑
2025-10-14 14:13:44 +08:00
parent 96db87a722
commit 3d9637e7da
2 changed files with 2 additions and 2 deletions

View File

@@ -11,5 +11,5 @@
"documentation": "https://github.com/suyulin/jackery_home", "documentation": "https://github.com/suyulin/jackery_home",
"issue_tracker": "https://github.com/suyulin/jackery_home/issues", "issue_tracker": "https://github.com/suyulin/jackery_home/issues",
"iot_class": "local_push", "iot_class": "local_push",
"version": "1.0.3" "version": "1.0.4"
} }

View File

@@ -132,7 +132,7 @@ class JackeryHomeSensor(SensorEntity):
"name": "JackeryHome", "name": "JackeryHome",
"manufacturer": "Jackery", "manufacturer": "Jackery",
"model": "Energy Monitor", "model": "Energy Monitor",
"sw_version": "1.0.3", "sw_version": "1.0.4",
} }
self._topic = f"{topic_prefix}/{sensor_id}/state" self._topic = f"{topic_prefix}/{sensor_id}/state"
self._attr_native_value = None self._attr_native_value = None