XiaoMi/ha_xiaomi_home

传感器数据丢失

Opened this issue · 1 comments

Describe the Bug / 描述问题

通过ha自带的statistics-graph统计数据卡片无法读取部分设备的传感器数据

How to Reproduce / 复现步骤

历史数据

在集成里面的读取数据和历史数据都是正常的

温控器环境温度历史数据
秒测测温度历史数据
开关电功率集成内的历史情况

传感器参数

设备在集成内的传感器参数

温控器传感器温度数据
秒测测 传感器参数
开关电功率传感器

statistics-graph统计图配置

在type: statistics-graph统计图表卡片里面未能搜寻到相关传感器参数

找不到相应传感器2
找不到相应传感器

Expected Behavior / 预期结果

能够通过statistics-graph统计图显示历史数据

Reproduce Time / 问题复现的时间点

2024-12-25 18:00:09

Home Assistant Logs / 系统日志

2024-12-25 18:00:09.379 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration xiaomi_home which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-12-25 18:00:24.567 ERROR (45f468edfc2c6caa) [custom_components.xiaomi_home.miot.miot_client] XXXXXXXXXXXX家, mips try reconnect after 12000ms
2024-12-25 18:00:36.598 ERROR (45f468edfc2c6caa) [custom_components.xiaomi_home.miot.miot_client] XXXXXXXXXXXX家, mips try reconnect after 24000ms
2024-12-25 18:01:00.628 ERROR (45f468edfc2c6caa) [custom_components.xiaomi_home.miot.miot_client] XXXXXXXXXXXX家, mips try reconnect after 48000ms
2024-12-25 18:01:48.659 ERROR (45f468edfc2c6caa) [custom_components.xiaomi_home.miot.miot_client] XXXXXXXXXXXX家, mips try reconnect after 60000ms
2024-12-25 18:02:48.691 ERROR (45f468edfc2c6caa) [custom_components.xiaomi_home.miot.miot_client] XXXXXXXXXXXX家, mips try reconnect after 60000ms
2024-12-25 18:03:48.724 ERROR (45f468edfc2c6caa) [custom_components.xiaomi_home.miot.miot_client] XXXXXXXXXXXX家, mips try reconnect after 60000ms
2024-12-25 18:04:48.754 ERROR (45f468edfc2c6caa) [custom_components.xiaomi_home.miot.miot_client] XXXXXXXXXXXX家, mips try reconnect after 60000ms
2024-12-25 18:05:48.786 ERROR (45f468edfc2c6caa) [custom_components.xiaomi_home.miot.miot_client] XXXXXXXXXXXX家, mips try reconnect after 60000ms
2024-12-25 18:06:48.816 ERROR (45f468edfc2c6caa) [custom_components.xiaomi_home.miot.miot_client] XXXXXXXXXXXX家, mips try reconnect after 60000ms
2024-12-25 18:07:48.847 ERROR (45f468edfc2c6caa) [custom_components.xiaomi_home.miot.miot_client] XXXXXXXXXXXX家, mips try reconnect after 60000ms
2024-12-25 18:08:48.878 ERROR (45f468edfc2c6caa) [custom_components.xiaomi_home.miot.miot_client] XXXXXXXXXXXX家, mips try reconnect after 60000ms
2024-12-25 18:09:48.908 ERROR (45f468edfc2c6caa) [custom_components.xiaomi_home.miot.miot_client] XXXXXXXXXXXX家, mips try reconnect after 60000ms
2024-12-25 18:10:48.936 ERROR (45f468edfc2c6caa) [custom_components.xiaomi_home.miot.miot_client] XXXXXXXXXXXX家, mips try reconnect after 60000ms
2024-12-25 18:11:48.970 ERROR (45f468edfc2c6caa) [custom_components.xiaomi_home.miot.miot_client] XXXXXXXXXXXX家, mips try reconnect after 60000ms
2024-12-25 18:12:49.000 ERROR (45f468edfc2c6caa) [custom_components.xiaomi_home.miot.miot_client] XXXXXXXXXXXX家, mips try reconnect after 60000ms
2024-12-25 18:13:49.035 ERROR (45f468edfc2c6caa) [custom_components.xiaomi_home.miot.miot_client] XXXXXXXXXXXX家, mips try reconnect after 60000ms
2024-12-25 18:14:49.063 ERROR (45f468edfc2c6caa) [custom_components.xiaomi_home.miot.miot_client] XXXXXXXXXXXX家, mips try reconnect after 60000ms
2024-12-25 18:15:49.095 ERROR (45f468edfc2c6caa) [custom_components.xiaomi_home.miot.miot_client] XXXXXXXXXXXX家, mips try reconnect after 60000ms
……

Log Timezone / 日志时区

Asia/Shanghai

Home Assistant Core Version / Home Assistant Core 版本

2024.12.3

Home Assistant Operation System Version / Home Assistant Operation System 版本

docker版的

Xiaomi Home Integration Version / 米家集成版本

v0.1.4b1

Additional Context / 其他说明

涉及到的设备

  1. 小米智能插座3,制造商:Gosund,固件:1.1.0
  2. 智能挂壁炉温控器面板,制造商:热炕头,固件:1.0.3
  3. 小米蓝牙电子温湿度计,制造商:秒秒测,固件:2.1.1_0159

目前好像传感器缺少标签,不支持长期存储,无法被Recorder记录,目前可以通过新建辅助元素的方法曲线解决这一问题