'Set new operation mode.'

def set_operation_mode(self, readable_operation_mode):

    operation_mode = CONST_MODE_SMART_SCHEDULE
    for (mode, readable) in OPERATION_LIST.items():
        if (readable == readable_operation_mode):
            operation_mode = mode
            break
    self._current_operation = operation_mode
    self._overlay_mode = None
    self._control_heating()
