gysmo38 / mitsubishi2MQTT

Mitsubishi to MQTT with ESP8266 module
GNU Lesser General Public License v2.1
390 stars 139 forks source link

When in cool mode, the "action" (HVAC state) property is always "cooling" even when unit is idle #95

Closed melyux closed 3 years ago

melyux commented 4 years ago

Setting the unit to the cool mode puts it into a permanent "cooling" stage instead of alternating between "cooling" and "idle", even when the compressor is actually idle. Is this how it's meant to be?

I saw in the code the line //rootInfo["operating"] = currentStatus.operating; was commented out with this commit. Was this for any particular reason? Right now, the action property is just a duplicate of the mode property according to the code.

dzungpv commented 3 years ago

You are right, you bring back this feature from this commit: https://github.com/gysmo38/mitsubishi2MQTT/commit/9d375f5a7a465d23dd232ae884726f4a39a31f48