impress_sig_mesh_hacs/custom_components/sigmesh_gateway
impressionyang 311cfbbe7e fix: 修复平台文件和 OptionsFlow 错误
修复内容:
1. 所有平台文件添加 coordinator.data None 检查
   - sensor.py, binary_sensor.py, switch.py, light.py, device_tracker.py
2. 修复 async_get_options_flow 签名
   - 改为实例方法,移除 config_entry 参数
   - 移除 @staticmethod 装饰器
3. OptionsFlow 添加正确的 __init__ 方法

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-16 09:48:00 +08:00
..
icons fix: 修复平台加载和 OptionsFlow 错误 2026-04-16 09:39:35 +08:00
__init__.py 初始提交:SigMesh Gateway HACS 集成 2026-04-15 18:20:48 +08:00
binary_sensor.py fix: 修复平台文件和 OptionsFlow 错误 2026-04-16 09:48:00 +08:00
config_flow.py fix: 修复平台文件和 OptionsFlow 错误 2026-04-16 09:48:00 +08:00
const.py 初始提交:SigMesh Gateway HACS 集成 2026-04-15 18:20:48 +08:00
coordinator.py fix: 修复 coordinator.py 导入错误 2026-04-15 19:09:40 +08:00
device_tracker.py fix: 修复平台文件和 OptionsFlow 错误 2026-04-16 09:48:00 +08:00
light.py fix: 修复平台文件和 OptionsFlow 错误 2026-04-16 09:48:00 +08:00
manifest.json fix: 修复平台加载和 OptionsFlow 错误 2026-04-16 09:39:35 +08:00
protocol_parser.py 初始提交:SigMesh Gateway HACS 集成 2026-04-15 18:20:48 +08:00
sensor.py fix: 修复平台文件和 OptionsFlow 错误 2026-04-16 09:48:00 +08:00
serial_reader.py 初始提交:SigMesh Gateway HACS 集成 2026-04-15 18:20:48 +08:00
switch.py fix: 修复平台文件和 OptionsFlow 错误 2026-04-16 09:48:00 +08:00