al-one / hass-xiaomi-miot

Automatic integrate all Xiaomi devices to HomeAssistant via miot-spec, support Wi-Fi, BLE, ZigBee devices. 小米米家智能家居设备接入Hass集成
https://miot-spec.com
Apache License 2.0
4.67k stars 664 forks source link

米家电热毯不可用 #1896

Closed OXYG4TE closed 3 weeks ago

OXYG4TE commented 1 month ago

Device model / 设备型号

xiaomi.blanket.mj1

Component version / 插件版本

0.7.20

HA core version / HA版本

2024.10.3

Integrated mode / 集成方式

Automatic (自动模式)

The problem / 问题详情

只显示一个开关,没有其他的实体 且不可用 image

Entity attributes / 实体属性

switch.xiaomi_mj1_85cd_electric_blanket

Home Assistant Logs / 系统日志

此错误来自自定义集成。

日志记录器: custom_components.xiaomi_miot.switch 来源: custom_components/xiaomi_miot/init.py:1445 集成: Xiaomi Miot Auto (文档, 问题) 首次出现: 17:43:51 (2 次总计出现) 上次记录: 17:44:22

Mijia Smart Electric Under Blanket(xiaomi.blanket.mj1): Got MiioException while fetching the state: Unable to recover failed command, mapping: {'electric_blanket.on': {'siid': 2, 'piid': 1}, 'electric_blanket.fault': {'siid': 2, 'piid': 2}, 'electric_blanket.mode': {'siid': 2, 'piid': 3}, 'electric_blanket.heat_level': {'siid': 2, 'piid': 7}, 'sleep.a_sleep': {'siid': 7, 'piid': 1}, 'sleep.b_sleep': {'siid': 7, 'piid': 2}, 'custom.anti_scald_switch': {'siid': 6, 'piid': 1}, 'custom.a_b_gears': {'siid': 6, 'piid': 2}, 'custom.a_countdown': {'siid': 6, 'piid': 7}, 'custom.b_countdown': {'siid': 6, 'piid': 8}, 'screen.auto_screen_off': {'siid': 8, 'piid': 4}, 'physical_controls_locked': {'siid': 3, 'piid': 1}}, max_properties: 6/12

al-one commented 1 month ago

尝试master分支。