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.59k stars 650 forks source link

空调插座可以显示状态,但是无法控制 #1710

Open comeon000 opened 4 months ago

comeon000 commented 4 months ago

Device model / 设备型号 lumi.acpartner.v1 lumi.acpartner.v3

Component version / 插件版本 0.7.18

HA core version / HA版本 2024.6.1

Integrated mode / 集成方式 local(本地模式)

The problem / 问题详情 无法控制开启空调,修改配置后过两秒界面就自动恢复,但是米家APP可以控制,而且状态可以同步到HA

Entity attributes / 实体属性 climate.lumi_v1_63b0_air_conditioner hvac_modes: auto, cool, heat, dry, fan_only, off min_temp: 17 max_temp: 30 target_temp_step: 1 fan_modes: auto, low, medium, high swing_modes: off, vertical current_temperature: null temperature: 25 fan_mode: medium hvac_action: cooling swing_mode: vertical model: lumi.acpartner.v3 lan_ip: 192.168.2.88 mac_address: 5C:E5:0C:B6:44:82 entity_class: MiotClimateEntity home_room: 紫薇田园都市K区 次卧 miot_type: urn:miot-spec-v2:device:air-conditioner:0000A004:lumi-v3:1 air_conditioner.on: true air_conditioner.mode: 1 target_temperature-2-3: 25 fan_control.fan_level: 2 fan_control.vertical_swing: true state_updater: lan electric_power: 914.46 power_cost_today: 937 power_cost_month: 4572 sub_entities: electric_power, power_cost_today, power_cost_month friendly_name: 空调插座 Air Conditioner supported_features: 425

Home Assistant Logs / 系统日志 空调插座3(lumi.acpartner.v1): Set miot property {'did': '48275397', 'siid': 3, 'piid': 2, 'value': True} failed: {'code': -32601, 'message': 'Method not found.'} 空调插座2(lumi.acpartner.v3): Set miot property {'did': '93980796', 'siid': 2, 'piid': 1, 'value': True} failed: {'code': -32601, 'message': 'Method not found.'} 空调插座2(lumi.acpartner.v3): Set miot property {'did': '93980796', 'siid': 2, 'piid': 2, 'value': 1} failed: {'code': -32601, 'message': 'Method not found.'} 空调插座(lumi.acpartner.v3): Set miot property {'did': '315130887', 'siid': 2, 'piid': 1, 'value': True} failed: {'code': -32601, 'message': 'Method not found.'} 空调插座(lumi.acpartner.v3): Set miot property {'did': '315130887', 'siid': 2, 'piid': 2, 'value': 4} failed: {'code': -32601, 'message': 'Method not found.'}

mildrabbit commented 4 months ago

我的小米空调伴侣3和楼主的一样的故障,都是米家APP能控制,但集成到HA就不能控制,无论点选到哪个状态,他马上就回跳回至关闭状态。请大大抽空解决一下。

al-one commented 4 months ago

空调伴侣必须使用自动模式或云端模式。