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.33k stars 609 forks source link

Air Purifier’s temperature and humility not updated after to v0.7.18 #1664

Open tommypsk opened 3 months ago

tommypsk commented 3 months ago

Device model / 设备型号

zhimi.airp.vb4 & dmaker.airp.swift

Component version / 插件版本

0.7.18

HA core version / HA版本

2024.05.01

Integrated mode / 集成方式

Automatic (自动模式)

The problem / 问题详情

Temperature and humility for both the stated devices not update back to HA

Entity attributes / 实体属性

sensor.zhimi_vb4_15be_temperature, sensor.zhimi_vb4_15be_relative_humidity, sensor.dmaker_swift_ff7e_temperature & sensor.dmaker_swift_ff7e_relative_humidity

Home Assistant Logs / 系统日志

No response

nightshadow931 commented 3 months ago

I can confirm this. Actually, it's not only temperature & humidity, no entities are being updated at all..

saveriol commented 3 months ago

Can confirm, no updates for zhimi.airp.rmb1 since update to v0.7.18. Works reverting to v0.7.17

Enabling debug, I see:

2024-05-18 09:05:16.796 DEBUG (MainThread) [custom_components.xiaomi_miot.fan] Xiaomi Smart Air Purifier 4 Lite(zhimi.airp.rmb1): Got new state: {'air_purifier.on': True, 'air_purifier.fault': 0, 'air_purifier.mode': 0, 'aqi.aqi_updata_heartbeat': 0, 'custom_service.moto_speed_rpm': 424, 'custom_service.country_code': 2, 'custom_service.favorite_level': 8, 'temperature_display_unit-14-1': 1, 'screen.brightness': 0, 'physical_controls_locked': False, 'alarm': False, 'filter.filter_life_level': 63, 'filter.filter_used_time': 105, 'filter.filter_left_time': 186, 'environment.relative_humidity': 54, 'environment.pm2_5_density': 3, 'environment.temperature': 22, 'state_updater': 'lan'}

but this is not reflected on HA, leaving entities with outdated values

larrylai2 commented 3 months ago

I can Confirm this. After update to v0.7.18, dmaker.airp.swift’s pm2.5, temperature & humidity no update,but normal when load back to 0.7.17。

fabiocguerreiro commented 1 month ago

Confirmed, reverting to v0.7.17 solved the issue.