HA core version
2026.2.3
Intergration version
v0.6.10
Device type and model
Heat Pump Wi-Fi Controller 171H120F (0)
Used App
skip
The description of problem
Hello,
When activating ECO mode on my heat pump, the integration crashes with the following error:
Model: 171H120F
Subtype: 0
Device protocol: 3
Message protocol: 0
Error:
File "midealocal/devices/c3/message.py", line 373
self.eco_function_state = body[data_offset] & 0x01 > 0
IndexError: bytearray index out of range
This causes all sensors to lose their values until the integration is reinstalled.
midea_ac_lan version: latest
Home Assistant version: latest
The logs
No response
HA core version
2026.2.3
Intergration version
v0.6.10
Device type and model
Heat Pump Wi-Fi Controller 171H120F (0)
Used App
skip
The description of problem
Hello,
When activating ECO mode on my heat pump, the integration crashes with the following error:
Model: 171H120F
Subtype: 0
Device protocol: 3
Message protocol: 0
Error:
File "midealocal/devices/c3/message.py", line 373
self.eco_function_state = body[data_offset] & 0x01 > 0
IndexError: bytearray index out of range
This causes all sensors to lose their values until the integration is reinstalled.
midea_ac_lan version: latest
Home Assistant version: latest
The logs
No response