ha0y / xiaomi_miot_raw

All-in-one & Easy-to-use. Integrate all your Xiaomi Smart Home - with a single integration and NO YAML files - into Home Assistant.
Apache License 2.0
2.19k stars 231 forks source link

无法添加蓝牙网关下的温湿度计 #381

Open JiFengQAQ opened 2 years ago

JiFengQAQ commented 2 years ago

无法添加蓝牙网关相连的温湿度传感器, 包括: 米家蓝牙温湿度计2, 米家电子温湿度计Pro, 青萍蓝牙闹钟. 应该是网关的问题, 但不知道具体哪里的问题. 家里两个网关分别是米家智能插座蓝牙网关版和小爱音箱Play, 已经尝试了同时打开两个及只打开其中一个设备, 都出现同样的问题.

当添加时, 通知显示

Invalid config

The following integrations and platforms could not be set up:

  • xiaomi_miot_raw.number
  • xiaomi_miot_raw.sensor
  • xiaomi_miot_raw.binary_sensor

    Please check your config and logs.

日志为

2022-04-07 17:06:46 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs 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

2022-04-07 17:06:46 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration xiaomi_miot_raw 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

2022-04-07 17:07:05 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform xiaomi_miot_raw.number: Platform not found (No module named 'custom_components.xiaomi_miot_raw.binary_sensor').

------以上是刚开机时出现的错误日志, 此时miot只添加了一个小米智能开关(功能正常), 下面添加了一个名叫“室外”的米家温湿度计2.------

2022-04-07 17:08:58 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform xiaomi_miot_raw.sensor: Platform not found (No module named 'custom_components.xiaomi_miot_raw.binary_sensor').

2022-04-07 17:08:58 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform xiaomi_miot_raw.number: Platform not found (No module named 'custom_components.xiaomi_miot_raw.binary_sensor').

2022-04-07 17:08:58 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform xiaomi_miot_raw.binary_sensor: Platform not found (No module named 'custom_components.xiaomi_miot_raw.binary_sensor').

2022-04-07 17:09:08 WARNING (MainThread) [homeassistant.components.select] Setup of select platform xiaomi_miot_raw is taking over 10 seconds.

2022-04-07 17:09:28 ERROR (MainThread) [custom_components.xiaomi_miot_raw] The main device of 室外(255.255.255.255) is still not ready after 30 seconds!

2022-04-07 17:09:28 WARNING (MainThread) [homeassistant.components.select] Platform xiaomi_miot_raw not ready yet: None; Retrying in background in 30 seconds

2022-04-07 17:10:08 WARNING (MainThread) [homeassistant.components.select] Setup of select platform xiaomi_miot_raw is taking over 10 seconds.

2022-04-07 17:10:28 ERROR (MainThread) [custom_components.xiaomi_miot_raw] The main device of 室外(255.255.255.255) is still not ready after 30 seconds!

piyoki commented 2 years ago

同样的报错。。。