Closed shuaihuaiyi closed 2 years ago
尝试master分支
问题没有解决,设备的配置为
customizing_device:
xiaomi.aircondition.mt0:
chunk_properties: '10'
sensor_properties: electricity.electricity
fan_services: air_fresh
exclude_miot_services: iot_linkage,machine_state,screen_show
exclude_miot_properties: enhance.timer,humidity_range,filter_core_rest,sleep_diy_sign
core log:
2022-08-26 12:23:38.592 ERROR (MainThread) [custom_components.xiaomi_miot.climate] Mi Smart AC with Ventilation (Elite Edition 1.5HP)(xiaomi.aircondition.mt0): Got MiioException while fetching the state: Unable to parse message payload, mapping: {'air_conditioner.on': {'siid': 2, 'piid': 1}, 'air_conditioner.mode': {'siid': 2, 'piid': 2}, 'air_conditioner.fault': {'siid': 2, 'piid': 3}, 'target_temperature-2-4': {'siid': 2, 'piid': 4}, 'air_conditioner.eco': {'siid': 2, 'piid': 7}, 'air_conditioner.heater': {'siid': 2, 'piid': 9}, 'air_conditioner.dryer': {'siid': 2, 'piid': 10}, 'air_conditioner.sleep_mode': {'siid': 2, 'piid': 11}, 'air_conditioner.soft_wind': {'siid': 2, 'piid': 12}, 'air_conditioner.uv': {'siid': 2, 'piid': 13}, 'air_conditioner.target_humidity': {'siid': 2, 'piid': 14}, 'single_smart_scene.auto_cooling': {'siid': 16, 'piid': 1}, 'automatic_heating-16-2': {'siid': 16, 'piid': 2}, 'single_smart_scene.auto_dry': {'siid': 16, 'piid': 3}, 'auto_air_fresh-16-5': {'siid': 16, 'piid': 5}, 'freshair_dark_switch-16-8': {'siid': 16, 'piid': 8}, 'single_smart_scene.sleep_soft': {'siid': 16, 'piid': 9}, 'air_fresh_more.filter_life': {'siid': 15, 'piid': 1}, 'flag_bit.fault_value': {'siid': 13, 'piid': 1}, 'enhance.fan_percent': {'siid': 10, 'piid': 1}, 'enhance.off_flag': {'siid': 10, 'piid': 8}, 'enhance.tp_and_humidity': {'siid': 10, 'piid': 9}, 'enhance.tp_carbon_dioxide': {'siid': 10, 'piid': 10}, 'enhance.huy_carbon_dioxide': {'siid': 10, 'piid': 11}, 'enhance.display_carbon': {'siid': 10, 'piid': 12}, 'enhance.display_co_two': {'siid': 10, 'piid': 13}, 'maintenance.clean': {'siid': 9, 'piid': 1}, 'maintenance.examine': {'siid': 9, 'piid': 2}, 'maintenance.running_duration': {'siid': 9, 'piid': 5}, 'electricity': {'siid': 8, 'piid': 1}, 'electricity.elec_count': {'siid': 8, 'piid': 3}, 'electricity.time_count': {'siid': 8, 'piid': 5}, 'air_fresh.on': {'siid': 14, 'piid': 1}, 'air_fresh.fault': {'siid': 14, 'piid': 2}, 'air_fresh.fan_level': {'siid': 14, 'piid': 5}, 'indicator_light.on': {'siid': 6, 'piid': 1}, 'indicator_light.brightness': {'siid': 6, 'piid': 2}, 'alarm': {'siid': 5, 'piid': 1}, 'environment.temperature': {'siid': 4, 'piid': 7}, 'environment.co2_density': {'siid': 4, 'piid': 8}, 'environment.relative_humidity': {'siid': 4, 'piid': 9}, 'fan_control.fan_level': {'siid': 3, 'piid': 2}, 'fan_control.horizontal_swing': {'siid': 3, 'piid': 3}, 'fan_control.vertical_swing': {'siid': 3, 'piid': 4}, 'fan_control.horizontal_angle': {'siid': 3, 'piid': 5}, 'fan_control.vertical_angle': {'siid': 3, 'piid': 6}}, max_properties: 10/46
更新空调固件至2.2.1.0035后,在v0.6.10 release上即可正常使用
@al-one This doesn't work:
相关issue: Originally posted by @shuaihuaiyi in https://github.com/al-one/hass-xiaomi-miot/issues/209#issuecomment-1217540987