'Return current operation ie. heat, cool, idle.'

@property
def current_operation(self):

    if (self._mode in [STATE_HEAT, STATE_COOL, STATE_OFF, STATE_ECO]):
        return self._mode
    elif (self._mode == STATE_HEAT_COOL):
        return STATE_AUTO
    return STATE_UNKNOWN
