Open dogmatic69 opened 9 months ago
Some example logs:
2024-01-16 14:45:19.449 INFO (SyncWorker_52) [custom_components.xiaomi_miot.core.miio2miot] rockrobo.vacuum.v1: Got miio props for miot: {'msg_ver': 8, 'msg_seq': 240, 'state': 8, 'battery': 88, 'clean_time': 1440, 'clean_area': 16545000, 'error_code': 0, 'map_present': 1, 'in_cleaning': 0, 'fan_power': 60, 'dnd_enabled': 0, 'main_brush_work_time': 108396, 'side_brush_work_time': 108396, 'filter_work_time': 108396, 'sensor_dirty_time': 108396, 'fan_mode': 60}
Device model / 设备型号
rockrobo.vacuum.v1
Component version / 插件版本
0.7.15
HA core version / HA版本
2024.01.5
Integrated mode / 集成方式
Token
The problem / 问题详情
The values dont seem to be calculated as per other models.
Not sure, but something like this does not seem to happen. https://github.com/al-one/hass-xiaomi-miot/blob/master/custom_components/xiaomi_miot/core/miio2miot_specs.py#L1061
If I feed the "raw" numbers in HA to that formula I get values that match what is in the app.
Entity attributes / 实体属性
see screen shot above
Home Assistant Logs / 系统日志
No response