Commit Graph

7 Commits

Author SHA1 Message Date
不求圣剑
0441a1ab38 feat: enhance MQTT integration checks in JackeryHome
- Added validation to ensure MQTT integration is configured before setting up the JackeryHome integration.
- Updated error handling in the configuration flow to provide user feedback if MQTT is not available.
- Improved logging for MQTT subscription processes and error handling in the data coordinator.
- Updated user interface strings to reflect the new requirements for MQTT integration.
2025-11-18 17:04:55 +08:00
不求圣剑
b68566edd1 feat: implement data coordinator for JackeryHome integration
- Introduced a new `JackeryDataCoordinator` class to manage MQTT subscriptions and data retrieval for all sensor entities.
- Updated the setup process to create and start the coordinator, allowing shared data handling among sensors.
- Enhanced sensor lifecycle management by registering and unregistering sensors with the coordinator.
- Improved logging for better visibility into the coordinator's operations and sensor updates.
2025-11-18 16:59:52 +08:00
不求圣剑
ad4105af5e refactor: rename JackeryHome component directory and update references
- Renamed the `custom_components/jackery_home/` directory to `custom_components/JackeryHome/` for consistency with naming conventions.
- Updated all relevant documentation and scripts to reflect the new directory name.
- Removed obsolete files related to the previous directory structure.
2025-11-18 15:45:27 +08:00
不求圣剑
2d22a25006 refactor: rename JackeryHome component directory and update references
- Renamed the `custom_components/JackeryHome/` directory to `custom_components/jackery_home/` for consistency.
- Updated all references in documentation and scripts to reflect the new directory name.
- Removed obsolete files related to the previous directory structure.
2025-11-18 15:37:19 +08:00
不求圣剑
04821cb501 修复实体设备不显示问题
- 重写 sensor.py,使用 Home Assistant 内置 MQTT 组件
- 修复配置流程标题显示
- 添加更好的错误处理和日志记录
- 创建 MQTT 测试脚本
- 统一所有日志信息为 JackeryHome
2025-10-14 11:04:32 +08:00
不求圣剑
7f5b5492ca 准备发布到 HACS: 修复配置文件和更新文档 2025-10-14 10:46:10 +08:00
不求圣剑
3f698d6e16 first commit 2025-10-14 10:44:00 +08:00